Title: [114286] trunk/Source/WebKit2
- Revision
- 114286
- Author
- a...@apple.com
- Date
- 2012-04-16 11:52:20 -0700 (Mon, 16 Apr 2012)
Log Message
EndPrinting message should be sent synchronously when printing was initiated from DOM.
https://bugs.webkit.org/show_bug.cgi?id=84049
<rdar://problem/11096575>
Reviewed by Oliver Hunt.
* UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::printFrame): When printing is
initiated by WebProcess, all messages from UI process are sent synchronously to
avoid being queued, and so should EndPrinting.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (114285 => 114286)
--- trunk/Source/WebKit2/ChangeLog 2012-04-16 18:45:29 UTC (rev 114285)
+++ trunk/Source/WebKit2/ChangeLog 2012-04-16 18:52:20 UTC (rev 114286)
@@ -1,3 +1,15 @@
+2012-04-16 Alexey Proskuryakov <a...@apple.com>
+
+ EndPrinting message should be sent synchronously when printing was initiated from DOM.
+ https://bugs.webkit.org/show_bug.cgi?id=84049
+ <rdar://problem/11096575>
+
+ Reviewed by Oliver Hunt.
+
+ * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::printFrame): When printing is
+ initiated by WebProcess, all messages from UI process are sent synchronously to
+ avoid being queued, and so should EndPrinting.
+
2012-04-16 Brady Eidson <beid...@apple.com>
<rdar://problem/11249336> and https://bugs.webkit.org/show_bug.cgi?id=84050
Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (114285 => 114286)
--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2012-04-16 18:45:29 UTC (rev 114285)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp 2012-04-16 18:52:20 UTC (rev 114286)
@@ -2442,6 +2442,7 @@
m_uiClient.printFrame(this, frame);
+ endPrinting(); // Send a message synchronously while m_isPerformingDOMPrintOperation is still true.
m_isPerformingDOMPrintOperation = false;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes