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

Unified Diff: ui/gl/gl_surface_stub.cc

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 years, 4 months 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/gl/gl_surface_stub.h ('k') | ui/gl/gl_surface_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_stub.cc
diff --git a/ui/gl/gl_surface_stub.cc b/ui/gl/gl_surface_stub.cc
index 70230fc7c8326386b72a74be0e890c058d44a7e8..9c44023b05c108a942b7da326a4286baced96c9f 100644
--- a/ui/gl/gl_surface_stub.cc
+++ b/ui/gl/gl_surface_stub.cc
@@ -18,8 +18,8 @@ bool GLSurfaceStub::IsOffscreen() {
return false;
}
-bool GLSurfaceStub::SwapBuffers() {
- return true;
+gfx::SwapResult GLSurfaceStub::SwapBuffers() {
+ return gfx::SwapResult::SWAP_ACK;
}
gfx::Size GLSurfaceStub::GetSize() {
« no previous file with comments | « ui/gl/gl_surface_stub.h ('k') | ui/gl/gl_surface_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698