Index: ui/gl/gl_surface_glx.h |
diff --git a/ui/gl/gl_surface_glx.h b/ui/gl/gl_surface_glx.h |
index c1fca6006a1726b5971bd0494d284220ad61e22d..0c8063eb4965f3e0d3d8f10805d2b9cf1f5aa51d 100644 |
--- a/ui/gl/gl_surface_glx.h |
+++ b/ui/gl/gl_surface_glx.h |
@@ -59,12 +59,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: |
@@ -101,7 +101,7 @@ class GL_EXPORT PbufferGLSurfaceGLX : 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; |