⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 242643 in webkit


Ignore:
Timestamp:
Mar 8, 2019, 10:13:29 AM (7 years ago)
Author:
commit-queue@webkit.org
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 <cgarcia@igalia.com> 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.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242629 r242643  
     12019-03-08  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r242624): [GTK] New rAF code path assumes AC mode
     4        https://bugs.webkit.org/show_bug.cgi?id=195459
     5
     6        Reviewed by Žan Doberšek.
     7
     8        * WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
     9        (WebKit::DrawingAreaCoordinatedGraphics::scheduleCompositingLayerFlush):
     10        The refresh monitor now calls scheduleLayerFlush() but when AC
     11        mode is disabled this method does nothing, so setNeedsDisplay()
     12        needs to be called instead.
     13
    1142019-03-07  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp

    r242624 r242643  
    304304    if (m_layerTreeHost)
    305305        m_layerTreeHost->scheduleLayerFlush();
     306    else
     307        setNeedsDisplay();
    306308}
    307309
Note: See TracChangeset for help on using the changeset viewer.