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

Diff

Modified: branches/safari-534.52-branch/Source/WebKit2/ChangeLog (98141 => 98142)


--- branches/safari-534.52-branch/Source/WebKit2/ChangeLog	2011-10-21 20:56:35 UTC (rev 98141)
+++ branches/safari-534.52-branch/Source/WebKit2/ChangeLog	2011-10-21 20:57:56 UTC (rev 98142)
@@ -1,5 +1,22 @@
 2011-10-21  Lucas Forschler  <[email protected]>
 
+    Merge 96864
+
+    2011-10-06  Anders Carlsson  <[email protected]>
+
+            In background window, page flashes white if it enters and then immediately leaves compositing mode
+            https://bugs.webkit.org/show_bug.cgi?id=69566
+            <rdar://problem/9521192>
+
+            Reviewed by Dan Bernstein.
+
+            Don't update the backing store state if we're just about to exit accelerated compositing mode. Otherwise
+            the UI process will try to render an empty layer tree for a short period of time, leading to a white flash.
+
+            * WebProcess/WebPage/DrawingAreaImpl.cpp:
+            (WebKit::DrawingAreaImpl::layerHostDidFlushLayers):
+2011-10-21  Lucas Forschler  <[email protected]>
+
     Merge 96855
 
     2011-10-06  Anders Carlsson  <[email protected]>

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


--- branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-10-21 20:56:35 UTC (rev 98141)
+++ branches/safari-534.52-branch/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-10-21 20:57:56 UTC (rev 98142)
@@ -242,7 +242,7 @@
 
     m_layerTreeHost->forceRepaint();
 
-    if (m_shouldSendDidUpdateBackingStoreState) {
+    if (m_shouldSendDidUpdateBackingStoreState && !exitAcceleratedCompositingModePending()) {
         sendDidUpdateBackingStoreState();
         return;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to