Title: [98139] branches/safari-534.52-branch/Source/WebKit2

Diff

Modified: branches/safari-534.52-branch/Source/WebKit2/ChangeLog (98138 => 98139)


--- branches/safari-534.52-branch/Source/WebKit2/ChangeLog	2011-10-21 20:52:11 UTC (rev 98138)
+++ branches/safari-534.52-branch/Source/WebKit2/ChangeLog	2011-10-21 20:52:16 UTC (rev 98139)
@@ -1,5 +1,22 @@
 2011-10-21  Lucas Forschler  <[email protected]>
 
+    Merge 96765
+
+    2011-10-05  Anders Carlsson  <[email protected]>
+
+            Flash of white when unminimizing windows
+            https://bugs.webkit.org/show_bug.cgi?id=69476
+            <rdar://problem/10202680>
+
+            Reviewed by Simon Fraser.
+
+            Whenever the UI process requests an immediate backing store update, make sure to resume
+            painting if it's suspended.
+
+            * WebProcess/WebPage/DrawingAreaImpl.cpp:
+            (WebKit::DrawingAreaImpl::updateBackingStoreState):
+2011-10-21  Lucas Forschler  <[email protected]>
+
     Merge 96555
 
     2011-10-03  Anders Carlsson  <[email protected]>

Modified: branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (98138 => 98139)


--- branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-10-21 20:52:11 UTC (rev 98138)
+++ branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-10-21 20:52:16 UTC (rev 98139)
@@ -352,8 +352,14 @@
     // sendDidUpdateBackingStoreState; otherwise we shouldn't do one right now.
     m_isWaitingForDidUpdate = false;
 
-    if (respondImmediately)
+    if (respondImmediately) {
+        // Make sure to resume painting if we're supposed to respond immediately, otherwise we'll just
+        // send back an empty UpdateInfo struct.
+        if (m_isPaintingSuspended)
+            resumePainting();
+
         sendDidUpdateBackingStoreState();
+    }
 
     m_inUpdateBackingStoreState = false;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to