<rdar://problem/9005982> REGRESSION (r85780): Flash of white when a WKView with compo...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 May 2011 18:58:03 +0000 (18:58 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 9 May 2011 18:58:03 +0000 (18:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=60488

Reviewed by Darin Adler.

* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): Update m_compositingAccordingToProxyMessages,
since the DidUpdateBackingStoreState message also changes the compositing state in the proxy.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86074 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp

index fde94d9..5073e6e 100644 (file)
@@ -1,3 +1,14 @@
+2011-05-09  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Darin Adler.
+
+        <rdar://problem/9005982> REGRESSION (r85780): Flash of white when a WKView with composited content moves on-screen
+        https://bugs.webkit.org/show_bug.cgi?id=60488
+
+        * WebProcess/WebPage/DrawingAreaImpl.cpp:
+        (WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState): Update m_compositingAccordingToProxyMessages,
+        since the DidUpdateBackingStoreState message also changes the compositing state in the proxy.
+
 2011-05-09  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
         Reviewed by Andreas Kling.
index d0c4234..93a46ef 100644 (file)
@@ -337,6 +337,7 @@ void DrawingAreaImpl::sendDidUpdateBackingStoreState()
     }
 
     m_webPage->send(Messages::DrawingAreaProxy::DidUpdateBackingStoreState(m_backingStoreStateID, updateInfo, layerTreeContext));
+    m_compositingAccordingToProxyMessages = !layerTreeContext.isEmpty();
 #endif
 }