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

Changeset 285858 in webkit


Ignore:
Timestamp:
Nov 16, 2021, 5:40:51 AM (5 years ago)
Author:
Chris Lord
Message:

[GTK][WPE] displayDidRefresh can shortcut waking up the scrolling thread
https://bugs.webkit.org/show_bug.cgi?id=233187

Reviewed by Alejandro G. Castro.

Allow scrolling thread wake-up shortcut on GTK and WPE (matching
behaviour on every other platform).

No new tests, covered by existing tests.

  • page/scrolling/ThreadedScrollingTree.cpp:

(WebCore::ThreadedScrollingTree::displayDidRefresh):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r285857 r285858  
     12021-11-16  Chris Lord  <clord@igalia.com>
     2
     3        [GTK][WPE] displayDidRefresh can shortcut waking up the scrolling thread
     4        https://bugs.webkit.org/show_bug.cgi?id=233187
     5
     6        Reviewed by Alejandro G. Castro.
     7
     8        Allow scrolling thread wake-up shortcut on GTK and WPE (matching
     9        behaviour on every other platform).
     10
     11        No new tests, covered by existing tests.
     12
     13        * page/scrolling/ThreadedScrollingTree.cpp:
     14        (WebCore::ThreadedScrollingTree::displayDidRefresh):
     15
    1162021-11-16  Commit Queue  <commit-queue@webkit.org>
    217
  • trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp

    r285669 r285858  
    489489        return;
    490490
    491 #if !PLATFORM(WPE) && !PLATFORM(GTK)
    492491    if (!scrollingThreadIsActive)
    493492        return;
    494 #endif
    495493
    496494    ScrollingThread::dispatch([protectedThis = Ref { *this }]() {
Note: See TracChangeset for help on using the changeset viewer.