blob: b5367022d86fe68e81b43d0f3a7dad4d1bcbe645 [file] [log] [blame]
William A. Kennington IIIac69b482021-06-02 12:28:27 -07001From 834f335bb3e63e0bf78eed0520df33d5c55e5e8a Mon Sep 17 00:00:00 2001
2From: "commit-queue@webkit.org"
3 <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
4Date: Sat, 10 Apr 2021 22:02:50 +0000
5Subject: [PATCH] Properly use CompletionHandler when USE_OPENGL_OR_ES is set
6 to OFF https://bugs.webkit.org/show_bug.cgi?id=224149
7MIME-Version: 1.0
8Content-Type: text/plain; charset=UTF-8
9Content-Transfer-Encoding: 8bit
10
11Patch by Charlรจne Wendling <julianaito@posteo.jp> on 2021-04-10
12Reviewed by Fujii Hironori.
13
14* WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
15(WebKit::LayerTreeHost::forceRepaintAsync):
16
17git-svn-id: http://svn.webkit.org/repository/webkit/trunk@275802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
18
19Upstream-Status: Backport
20Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
21---
22 .../WebPage/CoordinatedGraphics/LayerTreeHost.h | 2 +-
23 2 files changed, 11 insertions(+), 1 deletion(-)
24
25diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
26index 6727d16c8c0b..db65f813267d 100644
27--- a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
28+++ b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
29@@ -213,7 +213,7 @@ inline void LayerTreeHost::setRootCompositingLayer(WebCore::GraphicsLayer*) { }
30 inline void LayerTreeHost::setViewOverlayRootLayer(WebCore::GraphicsLayer*) { }
31 inline void LayerTreeHost::scrollNonCompositedContents(const WebCore::IntRect&) { }
32 inline void LayerTreeHost::forceRepaint() { }
33-inline bool LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&) { return false; }
34+inline void LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&&) { }
35 inline void LayerTreeHost::sizeDidChange(const WebCore::IntSize&) { }
36 inline void LayerTreeHost::pauseRendering() { }
37 inline void LayerTreeHost::resumeRendering() { }