Title: [86689] trunk/Source/WebKit2
Revision
86689
Author
[email protected]
Date
2011-05-17 11:08:02 -0700 (Tue, 17 May 2011)

Log Message

2011-05-17  Anders Carlsson  <[email protected]>

        Reviewed by Dan Bernstein.

        Incomplete page painting at dropbox.com
        https://bugs.webkit.org/show_bug.cgi?id=60974
        <rdar://problem/9448213>

        When we're exiting compositing mode and haven't sent an EnterAcceleratedCompositingMode
        message to the UI process, we still need to send the updated bits to the ui process.
        
        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (86688 => 86689)


--- trunk/Source/WebKit2/ChangeLog	2011-05-17 18:06:20 UTC (rev 86688)
+++ trunk/Source/WebKit2/ChangeLog	2011-05-17 18:08:02 UTC (rev 86689)
@@ -1,3 +1,17 @@
+2011-05-17  Anders Carlsson  <[email protected]>
+
+        Reviewed by Dan Bernstein.
+
+        Incomplete page painting at dropbox.com
+        https://bugs.webkit.org/show_bug.cgi?id=60974
+        <rdar://problem/9448213>
+
+        When we're exiting compositing mode and haven't sent an EnterAcceleratedCompositingMode
+        message to the UI process, we still need to send the updated bits to the ui process.
+        
+        * WebProcess/WebPage/DrawingAreaImpl.cpp:
+        (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode):
+
 2011-05-17  Brady Eidson  <[email protected]>
 
         Reviewed by Anders Carlsson.

Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (86688 => 86689)


--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-05-17 18:06:20 UTC (rev 86688)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-05-17 18:08:02 UTC (rev 86689)
@@ -455,6 +455,10 @@
         if (m_compositingAccordingToProxyMessages) {
             m_webPage->send(Messages::DrawingAreaProxy::ExitAcceleratedCompositingMode(m_backingStoreStateID, updateInfo));
             m_compositingAccordingToProxyMessages = false;
+        } else {
+            // If we left accelerated compositing mode before we sent an EnterAcceleratedCompositingMode message to the
+            // UI process, we still need to let it know about the new contents, so send an Update message.
+            m_webPage->send(Messages::DrawingAreaProxy::Update(m_backingStoreStateID, updateInfo));
         }
     }
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to