Title: [258770] trunk/Source/WebKit
Revision
258770
Author
[email protected]
Date
2020-03-20 10:50:21 -0700 (Fri, 20 Mar 2020)

Log Message

Use same syntax for ComputePagesForPrintingAndDrawToPDF message as other messages
https://bugs.webkit.org/show_bug.cgi?id=209310
<rdar://problem/60648013>

Patch by Alex Christensen <[email protected]> on 2020-03-20
Reviewed by Sam Weinig.

This makes it easier for scripts to find which messages are unused.

* UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::WebPageProxy::computePagesForPrintingAndDrawToPDF):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (258769 => 258770)


--- trunk/Source/WebKit/ChangeLog	2020-03-20 17:40:44 UTC (rev 258769)
+++ trunk/Source/WebKit/ChangeLog	2020-03-20 17:50:21 UTC (rev 258770)
@@ -1,3 +1,16 @@
+2020-03-20  Alex Christensen  <[email protected]>
+
+        Use same syntax for ComputePagesForPrintingAndDrawToPDF message as other messages
+        https://bugs.webkit.org/show_bug.cgi?id=209310
+        <rdar://problem/60648013>
+
+        Reviewed by Sam Weinig.
+
+        This makes it easier for scripts to find which messages are unused.
+
+        * UIProcess/ios/WebPageProxyIOS.mm:
+        (WebKit::WebPageProxy::computePagesForPrintingAndDrawToPDF):
+
 2020-03-20  youenn fablet  <[email protected]>
 
         Add routines to check about:blank and about:srcdoc URLs

Modified: trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm (258769 => 258770)


--- trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2020-03-20 17:40:44 UTC (rev 258769)
+++ trunk/Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm	2020-03-20 17:50:21 UTC (rev 258770)
@@ -1146,8 +1146,7 @@
 
     uint32_t pageCount = 0;
     auto callbackID = m_callbacks.put(WTFMove(callback), m_process->throttler().backgroundActivity("WebPageProxy::computePagesForPrintingAndDrawToPDF"_s));
-    using Message = Messages::WebPage::ComputePagesForPrintingAndDrawToPDF;
-    process().sendSync(Message(frameID, printInfo, callbackID), Message::Reply(pageCount), m_webPageID, Seconds::infinity());
+    process().sendSync(Messages::WebPage::ComputePagesForPrintingAndDrawToPDF(frameID, printInfo, callbackID), Messages::WebPage::ComputePagesForPrintingAndDrawToPDF::Reply(pageCount), m_webPageID, Seconds::infinity());
     return pageCount;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to