Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (285857 => 285858)
--- trunk/Source/WebCore/ChangeLog 2021-11-16 11:41:05 UTC (rev 285857)
+++ trunk/Source/WebCore/ChangeLog 2021-11-16 13:40:51 UTC (rev 285858)
@@ -1,3 +1,18 @@
+2021-11-16 Chris Lord <[email protected]>
+
+ [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):
+
2021-11-16 Commit Queue <[email protected]>
Unreviewed, reverting r280078, r280290 and r282008.
Modified: trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp (285857 => 285858)
--- trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp 2021-11-16 11:41:05 UTC (rev 285857)
+++ trunk/Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp 2021-11-16 13:40:51 UTC (rev 285858)
@@ -488,10 +488,8 @@
if (displayID != this->displayID())
return;
-#if !PLATFORM(WPE) && !PLATFORM(GTK)
if (!scrollingThreadIsActive)
return;
-#endif
ScrollingThread::dispatch([protectedThis = Ref { *this }]() {
protectedThis->displayDidRefreshOnScrollingThread();
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
