William A. Kennington III | ac69b48 | 2021-06-02 12:28:27 -0700 | [diff] [blame] | 1 | From 834f335bb3e63e0bf78eed0520df33d5c55e5e8a Mon Sep 17 00:00:00 2001 |
| 2 | From: "commit-queue@webkit.org" |
| 3 | <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> |
| 4 | Date: Sat, 10 Apr 2021 22:02:50 +0000 |
| 5 | Subject: [PATCH] Properly use CompletionHandler when USE_OPENGL_OR_ES is set |
| 6 | to OFF https://bugs.webkit.org/show_bug.cgi?id=224149 |
| 7 | MIME-Version: 1.0 |
| 8 | Content-Type: text/plain; charset=UTF-8 |
| 9 | Content-Transfer-Encoding: 8bit |
| 10 | |
| 11 | Patch by Charlรจne Wendling <julianaito@posteo.jp> on 2021-04-10 |
| 12 | Reviewed by Fujii Hironori. |
| 13 | |
| 14 | * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: |
| 15 | (WebKit::LayerTreeHost::forceRepaintAsync): |
| 16 | |
| 17 | git-svn-id: http://svn.webkit.org/repository/webkit/trunk@275802 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
| 18 | |
| 19 | Upstream-Status: Backport |
| 20 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
| 21 | --- |
| 22 | .../WebPage/CoordinatedGraphics/LayerTreeHost.h | 2 +- |
| 23 | 2 files changed, 11 insertions(+), 1 deletion(-) |
| 24 | |
| 25 | diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h |
| 26 | index 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() { } |