Index: ui/gl/gl_surface_glx.h |
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h |
index 46b044fa7993c460a0486d6c38774d79ccc50982..1db5e4c72e3da142e0c198d6791c4083876b2b48 100644 |
--- a/ui/gl/gl_surface_glx.h |
+++ b/ui/gl/gl_surface_glx.h |
@@ -61,12 +61,12 @@ class GL_EXPORT NativeViewGLSurfaceGLX : public GLSurfaceGLX, |
void Destroy() override; |
bool Resize(const gfx::Size& size) override; |
bool IsOffscreen() override; |
- bool SwapBuffers() override; |
+ gfx::SwapResult SwapBuffers() override; |
gfx::Size GetSize() override; |
void* GetHandle() override; |
bool SupportsPostSubBuffer() override; |
void* GetConfig() override; |
- bool PostSubBuffer(int x, int y, int width, int height) override; |
+ gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override; |
VSyncProvider* GetVSyncProvider() override; |
protected: |
@@ -103,7 +103,7 @@ class GL_EXPORT UnmappedNativeViewGLSurfaceGLX : public GLSurfaceGLX { |
bool Initialize() override; |
void Destroy() override; |
bool IsOffscreen() override; |
- bool SwapBuffers() override; |
+ gfx::SwapResult SwapBuffers() override; |
gfx::Size GetSize() override; |
void* GetHandle() override; |
void* GetConfig() override; |