Title: [282384] releases/WebKitGTK/webkit-2.34/Source/WebKit
Revision
282384
Author
[email protected]
Date
2021-09-14 02:36:34 -0700 (Tue, 14 Sep 2021)

Log Message

Merge r282383 - REGRESSION(r274929): [CoordinatedGraphics] DrawingAreaCoordinatedGraphics::createDisplayRefreshMonitor is no longer used
https://bugs.webkit.org/show_bug.cgi?id=230214

Reviewed by Adrian Perez de Castro.

That means we use the right display refresh monitor in the threaded compositor but a different one for rendering
update scheduler.

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::displayRefreshMonitorFactory const): Remove platform ifdef, DrawingArea
unconditionally inherits from DisplayRefreshMonitorFactory and the default implementation of
createDisplayRefreshMonitor() returns nullptr.

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog (282383 => 282384)


--- releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog	2021-09-14 09:32:26 UTC (rev 282383)
+++ releases/WebKitGTK/webkit-2.34/Source/WebKit/ChangeLog	2021-09-14 09:36:34 UTC (rev 282384)
@@ -1,3 +1,18 @@
+2021-09-14  Carlos Garcia Campos  <[email protected]>
+
+        REGRESSION(r274929): [CoordinatedGraphics] DrawingAreaCoordinatedGraphics::createDisplayRefreshMonitor is no longer used
+        https://bugs.webkit.org/show_bug.cgi?id=230214
+
+        Reviewed by Adrian Perez de Castro.
+
+        That means we use the right display refresh monitor in the threaded compositor but a different one for rendering
+        update scheduler.
+
+        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+        (WebKit::WebChromeClient::displayRefreshMonitorFactory const): Remove platform ifdef, DrawingArea
+        unconditionally inherits from DisplayRefreshMonitorFactory and the default implementation of
+        createDisplayRefreshMonitor() returns nullptr.
+
 2021-09-11  Adrian Perez de Castro  <[email protected]>
 
         Unreviewed. Update OptionsWPE.cmake and NEWS for the 2.33.90 release

Modified: releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp (282383 => 282384)


--- releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2021-09-14 09:32:26 UTC (rev 282383)
+++ releases/WebKitGTK/webkit-2.34/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2021-09-14 09:36:34 UTC (rev 282384)
@@ -923,11 +923,7 @@
 
 WebCore::DisplayRefreshMonitorFactory* WebChromeClient::displayRefreshMonitorFactory() const
 {
-#if PLATFORM(COCOA)
     return m_page.drawingArea();
-#else
-    return nullptr;
-#endif
 }
 
 #if ENABLE(GPU_PROCESS)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to