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

Unified Diff: ui/ozone/platform/cast/surface_ozone_egl_cast.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/cast/surface_ozone_egl_cast.h ('k') | ui/ozone/platform/drm/gpu/gbm_surfaceless.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/cast/surface_ozone_egl_cast.cc
diff --git a/ui/ozone/platform/cast/surface_ozone_egl_cast.cc b/ui/ozone/platform/cast/surface_ozone_egl_cast.cc
index 56dee5873d2a8558d18438ff40bf8248ba9277d4..bbe8d3c8ad97dde0ba81b81d0db74fc335d20e73 100644
--- a/ui/ozone/platform/cast/surface_ozone_egl_cast.cc
+++ b/ui/ozone/platform/cast/surface_ozone_egl_cast.cc
@@ -21,10 +21,9 @@ bool SurfaceOzoneEglCast::OnSwapBuffers() {
return true;
}
-bool SurfaceOzoneEglCast::OnSwapBuffersAsync(
+void SurfaceOzoneEglCast::OnSwapBuffersAsync(
const SwapCompletionCallback& callback) {
callback.Run(gfx::SwapResult::SWAP_ACK);
- return true;
}
bool SurfaceOzoneEglCast::ResizeNativeWindow(const gfx::Size& viewport_size) {
« no previous file with comments | « ui/ozone/platform/cast/surface_ozone_egl_cast.h ('k') | ui/ozone/platform/drm/gpu/gbm_surfaceless.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698