Skip to content

Commit

Permalink
Cherry-pick 263302@main (721b8cc). https://bugs.webkit.org/show_bug.c…
Browse files Browse the repository at this point in the history
…gi?id=255718

    CoordinatedGraphics: build error: out-of-line definition of 'LayerTreeHost' does not match any declaration in 'WebKit::LayerTreeHost'
    https://bugs.webkit.org/show_bug.cgi?id=255718

    Reviewed by Carlos Garcia Campos.

    Fix build error when not using COORDINATED_GRAPHICS.

    * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
    (WebKit::LayerTreeHost::LayerTreeHost): Modified to match declaration.

    Canonical link: https://commits.webkit.org/263302@main
  • Loading branch information
xtkoba authored and aperezdc committed Apr 27, 2023
1 parent 411f0f2 commit 40cba6a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -176,7 +176,7 @@ class LayerTreeHost
};

#if !USE(COORDINATED_GRAPHICS)
inline LayerTreeHost::LayerTreeHost(WebPage& webPage) : m_webPage(webPage) { }
inline LayerTreeHost::LayerTreeHost(WebPage& webPage, WebCore::PlatformDisplayID displayID) : m_webPage(webPage), m_displayID(displayID) { }
inline LayerTreeHost::~LayerTreeHost() { }
inline void LayerTreeHost::setLayerFlushSchedulingEnabled(bool) { }
inline void LayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush(bool) { }
Expand Down

0 comments on commit 40cba6a

Please sign in to comment.