Changeset 258610 in webkit


Ignore:
Timestamp:
Mar 17, 2020 4:32:57 PM (4 years ago)
Author:
achristensen@apple.com
Message:

Fix API tests after r258574
https://bugs.webkit.org/show_bug.cgi?id=209192

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::printFrame):
I forgot to call the CompletionHandler from the IPC call.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r258602 r258610  
     12020-03-17  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API tests after r258574
     4        https://bugs.webkit.org/show_bug.cgi?id=209192
     5
     6        * UIProcess/WebPageProxy.cpp:
     7        (WebKit::WebPageProxy::printFrame):
     8        I forgot to call the CompletionHandler from the IPC call.
     9
    1102020-03-17  Jiewen Tan  <jiewen_tan@apple.com>
    211
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r258574 r258610  
    58185818    MESSAGE_CHECK(m_process, frame);
    58195819
    5820     m_uiClient->printFrame(*this, *frame, [this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)] {
     5820    m_uiClient->printFrame(*this, *frame, [this, protectedThis = makeRef(*this), completionHandler = WTFMove(completionHandler)] () mutable {
    58215821        endPrinting(); // Send a message synchronously while m_isPerformingDOMPrintOperation is still true.
    58225822        m_isPerformingDOMPrintOperation = false;
     5823        completionHandler();
    58235824    });
    58245825}
Note: See TracChangeset for help on using the changeset viewer.