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

Changeset 282383 in webkit


Ignore:
Timestamp:
Sep 14, 2021, 2:32:26 AM (5 years ago)
Author:
Carlos Garcia Campos
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.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r282377 r282383  
     12021-09-14  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        REGRESSION(r274929): [CoordinatedGraphics] DrawingAreaCoordinatedGraphics::createDisplayRefreshMonitor is no longer used
     4        https://bugs.webkit.org/show_bug.cgi?id=230214
     5
     6        Reviewed by Adrian Perez de Castro.
     7
     8        That means we use the right display refresh monitor in the threaded compositor but a different one for rendering
     9        update scheduler.
     10
     11        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
     12        (WebKit::WebChromeClient::displayRefreshMonitorFactory const): Remove platform ifdef, DrawingArea
     13        unconditionally inherits from DisplayRefreshMonitorFactory and the default implementation of
     14        createDisplayRefreshMonitor() returns nullptr.
     15
    1162021-09-13  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp

    r282366 r282383  
    924924WebCore::DisplayRefreshMonitorFactory* WebChromeClient::displayRefreshMonitorFactory() const
    925925{
    926 #if PLATFORM(COCOA)
    927926    return m_page.drawingArea();
    928 #else
    929     return nullptr;
    930 #endif
    931927}
    932928
Note: See TracChangeset for help on using the changeset viewer.