Skip to content

Commit 94cdcd2

Browse files
author
commit-queue@webkit.org
committed
Properly use CompletionHandler when USE_OPENGL_OR_ES is set to OFF
https://bugs.webkit.org/show_bug.cgi?id=224149 Patch by Charlène Wendling <julianaito@posteo.jp> on 2021-04-10 Reviewed by Fujii Hironori. * WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: (WebKit::LayerTreeHost::forceRepaintAsync): Canonical link: https://commits.webkit.org/236373@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent b7170c3 commit 94cdcd2

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

Source/WebKit/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2021-04-10 Charlène Wendling <julianaito@posteo.jp>
2+
3+
Properly use CompletionHandler when USE_OPENGL_OR_ES is set to OFF
4+
https://bugs.webkit.org/show_bug.cgi?id=224149
5+
6+
Reviewed by Fujii Hironori.
7+
8+
* WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
9+
(WebKit::LayerTreeHost::forceRepaintAsync):
10+
111
2021-04-10 Sihui Liu <sihui_liu@apple.com>
212

313
Unreviewed, reverting r275794, r275784, r275779

Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ inline void LayerTreeHost::setRootCompositingLayer(WebCore::GraphicsLayer*) { }
213213
inline void LayerTreeHost::setViewOverlayRootLayer(WebCore::GraphicsLayer*) { }
214214
inline void LayerTreeHost::scrollNonCompositedContents(const WebCore::IntRect&) { }
215215
inline void LayerTreeHost::forceRepaint() { }
216-
inline bool LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&) { return false; }
216+
inline void LayerTreeHost::forceRepaintAsync(CompletionHandler<void()>&&) { }
217217
inline void LayerTreeHost::sizeDidChange(const WebCore::IntSize&) { }
218218
inline void LayerTreeHost::pauseRendering() { }
219219
inline void LayerTreeHost::resumeRendering() { }

0 commit comments

Comments
 (0)