Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

Issue 1436993002: Remove return bool in SurfaceOzoneEGL::OnSwapBuffersAsync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_surfaceless.cc ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/egltest/ozone_platform_egltest.cc
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
index cae36955d032e24198b15f3aaae3bc5fce5e180e..1bf2d2bbd51ef3da0a72da55a5348ffc4fec42e9 100644
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
@@ -226,9 +226,8 @@ class SurfaceOzoneEgltest : public SurfaceOzoneEGL {
bool OnSwapBuffers() override { return true; }
- bool OnSwapBuffersAsync(const SwapCompletionCallback& callback) override {
+ void OnSwapBuffersAsync(const SwapCompletionCallback& callback) override {
callback.Run(gfx::SwapResult::SWAP_ACK);
- return true;
}
bool ResizeNativeWindow(const gfx::Size& viewport_size) override {
« no previous file with comments | « ui/ozone/platform/drm/gpu/gbm_surfaceless.cc ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698