Skip to content

Commit

Permalink
Fix USE(SKIA) build after 274990@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=269940

Unreviewed build fix.

Commit forgot to use `WebCore::SkiaAcceleratedBufferPool`.

* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h:

Canonical link: https://commits.webkit.org/275202@main
  • Loading branch information
donny-dont committed Feb 22, 2024
1 parent c8652ac commit 90fc604
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class CompositingCoordinator final : public WebCore::GraphicsLayerClient
#if USE(CAIRO)
Nicosia::PaintingEngine& paintingEngine() override;
#elif USE(SKIA)
SkiaAcceleratedBufferPool* skiaAcceleratedBufferPool() const override { return m_skiaAcceleratedBufferPool.get(); }
WebCore::SkiaAcceleratedBufferPool* skiaAcceleratedBufferPool() const override { return m_skiaAcceleratedBufferPool.get(); }
WorkerPool* skiaUnacceleratedThreadedRenderingPool() const override { return m_skiaUnacceleratedThreadedRenderingPool.get(); }
#endif
RefPtr<Nicosia::ImageBackingStore> imageBackingStore(uint64_t, Function<RefPtr<Nicosia::Buffer>()>) override;
Expand Down Expand Up @@ -135,7 +135,7 @@ class CompositingCoordinator final : public WebCore::GraphicsLayerClient
#if USE(CAIRO)
std::unique_ptr<Nicosia::PaintingEngine> m_paintingEngine;
#elif USE(SKIA)
std::unique_ptr<SkiaAcceleratedBufferPool> m_skiaAcceleratedBufferPool;
std::unique_ptr<WebCore::SkiaAcceleratedBufferPool> m_skiaAcceleratedBufferPool;
RefPtr<WorkerPool> m_skiaUnacceleratedThreadedRenderingPool;
#endif
HashMap<uint64_t, Ref<Nicosia::ImageBackingStore>> m_imageBackingStores;
Expand Down

0 comments on commit 90fc604

Please sign in to comment.