Changeset 243469 in webkit


Ignore:
Timestamp:
Mar 25, 2019, 4:11:11 PM (6 years ago)
Author:
Simon Fraser
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243468 r243469  
     12019-03-25  Simon Fraser  <simon.fraser@apple.com>
     2
     3        REGRESSION (r242687): Flicker when pinch-zooming pages in macOS Safari
     4        https://bugs.webkit.org/show_bug.cgi?id=196126
     5        rdar://problem/49095791
     6
     7        Reviewed by Tim Horton.
     8       
     9        I fumbled the commit after the enum rename. Make this actually work.
     10
     11        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
     12        (WebKit::TiledCoreAnimationDrawingArea::flushLayers):
     13
    1142019-03-25  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm

    r243381 r243469  
    494494        if (auto* scrollingCoordinator = m_webPage.corePage()->scrollingCoordinator()) {
    495495            scrollingCoordinator->commitTreeStateIfNeeded();
    496             if (flushType == FlushType::TransientZoom)
     496            if (flushType == FlushType::Normal)
    497497                scrollingCoordinator->applyScrollingTreeLayerPositions();
    498498        }
Note: See TracChangeset for help on using the changeset viewer.