diff options
Diffstat (limited to 'ui/gl/gl_surface_mac.cc')
-rw-r--r-- | ui/gl/gl_surface_mac.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gl/gl_surface_mac.cc b/ui/gl/gl_surface_mac.cc index 85e9714..0aea62f 100644 --- a/ui/gl/gl_surface_mac.cc +++ b/ui/gl/gl_surface_mac.cc @@ -32,9 +32,9 @@ class GL_EXPORT NoOpGLSurface : public GLSurface { bool Initialize() override { return true; } void Destroy() override {} bool IsOffscreen() override { return true; } - bool SwapBuffers() override { + gfx::SwapResult SwapBuffers() override { NOTREACHED() << "Cannot call SwapBuffers on a NoOpGLSurface."; - return false; + return gfx::SwapResult::SWAP_FAILED; } gfx::Size GetSize() override { return size_; } void* GetHandle() override { return NULL; } |