Title: [242643] trunk/Source/WebKit
Revision
242643
Author
[email protected]
Date
2019-03-08 10:13:29 -0800 (Fri, 08 Mar 2019)

Log Message

REGRESSION(r242624): [GTK] New rAF code path assumes AC mode
https://bugs.webkit.org/show_bug.cgi?id=195459

Patch by Carlos Garcia Campos <[email protected]> on 2019-03-08
Reviewed by Žan Doberšek.

* WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::scheduleCompositingLayerFlush):
The refresh monitor now calls scheduleLayerFlush() but when AC
mode is disabled this method does nothing, so setNeedsDisplay()
needs to be called instead.

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (242642 => 242643)


--- trunk/Source/WebKit/ChangeLog	2019-03-08 17:32:02 UTC (rev 242642)
+++ trunk/Source/WebKit/ChangeLog	2019-03-08 18:13:29 UTC (rev 242643)
@@ -1,3 +1,16 @@
+2019-03-08  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r242624): [GTK] New rAF code path assumes AC mode
+        https://bugs.webkit.org/show_bug.cgi?id=195459
+
+        Reviewed by Žan Doberšek.
+
+        * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
+        (WebKit::DrawingAreaCoordinatedGraphics::scheduleCompositingLayerFlush):
+        The refresh monitor now calls scheduleLayerFlush() but when AC
+        mode is disabled this method does nothing, so setNeedsDisplay()
+        needs to be called instead.
+
 2019-03-07  Tim Horton  <[email protected]>
 
         Crash under RemoteLayerTreePropertyApplier::applyProperties

Modified: trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp (242642 => 242643)


--- trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp	2019-03-08 17:32:02 UTC (rev 242642)
+++ trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp	2019-03-08 18:13:29 UTC (rev 242643)
@@ -303,6 +303,8 @@
 {
     if (m_layerTreeHost)
         m_layerTreeHost->scheduleLayerFlush();
+    else
+        setNeedsDisplay();
 }
 
 void DrawingAreaCoordinatedGraphics::layerHostDidFlushLayers()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to