Title: [97895] trunk/Source/WebKit2
Revision
97895
Author
[email protected]
Date
2011-10-19 16:58:30 -0700 (Wed, 19 Oct 2011)

Log Message

White flash when painting a previously crashed WKView
https://bugs.webkit.org/show_bug.cgi?id=70453
<rdar://problem/10306906>

Reviewed by John Sullivan.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::reattachToWebProcess):
Call waitForBackingStoreUpdateOnNextPaint so we'll wait for the next paint instead of painting white.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (97894 => 97895)


--- trunk/Source/WebKit2/ChangeLog	2011-10-19 23:55:48 UTC (rev 97894)
+++ trunk/Source/WebKit2/ChangeLog	2011-10-19 23:58:30 UTC (rev 97895)
@@ -1,3 +1,15 @@
+2011-10-19  Anders Carlsson  <[email protected]>
+
+        White flash when painting a previously crashed WKView
+        https://bugs.webkit.org/show_bug.cgi?id=70453
+        <rdar://problem/10306906>
+
+        Reviewed by John Sullivan.
+
+        * UIProcess/WebPageProxy.cpp:
+        (WebKit::WebPageProxy::reattachToWebProcess):
+        Call waitForBackingStoreUpdateOnNextPaint so we'll wait for the next paint instead of painting white.
+
 2011-10-19  Beth Dakin  <[email protected]>
 
         https://bugs.webkit.org/show_bug.cgi?id=70396

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (97894 => 97895)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2011-10-19 23:55:48 UTC (rev 97894)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2011-10-19 23:58:30 UTC (rev 97895)
@@ -290,6 +290,7 @@
     initializeWebPage();
 
     m_pageClient->didRelaunchProcess();
+    m_drawingArea->waitForBackingStoreUpdateOnNextPaint();
 }
 
 void WebPageProxy::reattachToWebProcessWithItem(WebBackForwardListItem* item)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to