Title: [243469] trunk/Source/WebKit
Revision
243469
Author
[email protected]
Date
2019-03-25 16:11:11 -0700 (Mon, 25 Mar 2019)

Log Message

REGRESSION (r242687): Flicker when pinch-zooming pages in macOS Safari
https://bugs.webkit.org/show_bug.cgi?id=196126
rdar://problem/49095791

Reviewed by Tim Horton.

I fumbled the commit after the enum rename. Make this actually work.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::flushLayers):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (243468 => 243469)


--- trunk/Source/WebKit/ChangeLog	2019-03-25 23:11:09 UTC (rev 243468)
+++ trunk/Source/WebKit/ChangeLog	2019-03-25 23:11:11 UTC (rev 243469)
@@ -1,5 +1,18 @@
 2019-03-25  Simon Fraser  <[email protected]>
 
+        REGRESSION (r242687): Flicker when pinch-zooming pages in macOS Safari
+        https://bugs.webkit.org/show_bug.cgi?id=196126
+        rdar://problem/49095791
+
+        Reviewed by Tim Horton.
+        
+        I fumbled the commit after the enum rename. Make this actually work.
+
+        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+        (WebKit::TiledCoreAnimationDrawingArea::flushLayers):
+
+2019-03-25  Simon Fraser  <[email protected]>
+
         Zoom on macOS is centered around a point lower than the cursor
         https://bugs.webkit.org/show_bug.cgi?id=196225
         rdar://problem/49213574

Modified: trunk/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (243468 => 243469)


--- trunk/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm	2019-03-25 23:11:09 UTC (rev 243468)
+++ trunk/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm	2019-03-25 23:11:11 UTC (rev 243469)
@@ -493,7 +493,7 @@
 #if ENABLE(ASYNC_SCROLLING)
         if (auto* scrollingCoordinator = m_webPage.corePage()->scrollingCoordinator()) {
             scrollingCoordinator->commitTreeStateIfNeeded();
-            if (flushType == FlushType::TransientZoom)
+            if (flushType == FlushType::Normal)
                 scrollingCoordinator->applyScrollingTreeLayerPositions();
         }
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to