Title: [282383] trunk/Source/WebKit
Revision
282383
Author
[email protected]
Date
2021-09-14 02:32:26 -0700 (Tue, 14 Sep 2021)

Log Message

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: trunk/Source/WebKit/ChangeLog (282382 => 282383)


--- trunk/Source/WebKit/ChangeLog	2021-09-14 07:46:35 UTC (rev 282382)
+++ trunk/Source/WebKit/ChangeLog	2021-09-14 09:32:26 UTC (rev 282383)
@@ -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-13  Chris Dumez  <[email protected]>
 
         [WK2] Reduce amount of IPC needed by BroadcastChannel

Modified: trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp (282382 => 282383)


--- trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2021-09-14 07:46:35 UTC (rev 282382)
+++ trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp	2021-09-14 09:32:26 UTC (rev 282383)
@@ -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