Title: [87642] trunk/Source/WebKit2
Revision
87642
Author
[email protected]
Date
2011-05-29 13:06:10 -0700 (Sun, 29 May 2011)

Log Message

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

        Reviewed by Darin Adler.

        REGRESSION (87637): Entering WebKit Full Screen mode causes an assertion in DrawingAreaImpl::layerHostDidFlushLayers
        https://bugs.webkit.org/show_bug.cgi?id=61706
        <rdar://problem/9521970>

        If we've already let the UI process know that we're in compositing mode, we just need to force a repaint.

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::forceRepaint):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (87641 => 87642)


--- trunk/Source/WebKit2/ChangeLog	2011-05-29 19:38:46 UTC (rev 87641)
+++ trunk/Source/WebKit2/ChangeLog	2011-05-29 20:06:10 UTC (rev 87642)
@@ -1,3 +1,16 @@
+2011-05-29  Anders Carlsson  <[email protected]>
+
+        Reviewed by Darin Adler.
+
+        REGRESSION (87637): Entering WebKit Full Screen mode causes an assertion in DrawingAreaImpl::layerHostDidFlushLayers
+        https://bugs.webkit.org/show_bug.cgi?id=61706
+        <rdar://problem/9521970>
+
+        If we've already let the UI process know that we're in compositing mode, we just need to force a repaint.
+
+        * WebProcess/WebPage/DrawingAreaImpl.cpp:
+        (WebKit::DrawingAreaImpl::forceRepaint):
+
 2011-05-29  Beth Dakin  <[email protected]>
 
         Reviewed by Darin Adler.

Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (87641 => 87642)


--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-05-29 19:38:46 UTC (rev 87641)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp	2011-05-29 20:06:10 UTC (rev 87642)
@@ -158,8 +158,11 @@
     if (m_layerTreeHost) {
         // FIXME: We need to do the same work as the layerHostDidFlushLayers function here,
         // but clearly it doesn't make sense to call the function with that name.
-        // Consider renaming it.
-        layerHostDidFlushLayers();
+        // Consider refactoring and renaming it.
+        if (m_compositingAccordingToProxyMessages)
+            m_layerTreeHost->forceRepaint();
+        else
+            layerHostDidFlushLayers();
         if (!m_layerTreeHost->participatesInDisplay())
             return;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to