| Index: ui/gl/gl_surface_osmesa.cc
|
| diff --git a/ui/gl/gl_surface_osmesa.cc b/ui/gl/gl_surface_osmesa.cc
|
| index 2efe12be35b5fe3af5df4b3d96860c585bd1fc8d..b695224dbd2c9a27469e35c58b8810fd0bc6372b 100644
|
| --- a/ui/gl/gl_surface_osmesa.cc
|
| +++ b/ui/gl/gl_surface_osmesa.cc
|
| @@ -94,9 +94,9 @@ bool GLSurfaceOSMesa::IsOffscreen() {
|
| return true;
|
| }
|
|
|
| -bool GLSurfaceOSMesa::SwapBuffers() {
|
| +gfx::SwapResult GLSurfaceOSMesa::SwapBuffers() {
|
| NOTREACHED() << "Should not call SwapBuffers on an GLSurfaceOSMesa.";
|
| - return false;
|
| + return gfx::SwapResult::SWAP_FAILED;
|
| }
|
|
|
| gfx::Size GLSurfaceOSMesa::GetSize() {
|
| @@ -117,7 +117,9 @@ GLSurfaceOSMesa::~GLSurfaceOSMesa() {
|
|
|
| bool GLSurfaceOSMesaHeadless::IsOffscreen() { return false; }
|
|
|
| -bool GLSurfaceOSMesaHeadless::SwapBuffers() { return true; }
|
| +gfx::SwapResult GLSurfaceOSMesaHeadless::SwapBuffers() {
|
| + return gfx::SwapResult::SWAP_ACK;
|
| +}
|
|
|
| GLSurfaceOSMesaHeadless::GLSurfaceOSMesaHeadless(
|
| const gfx::SurfaceConfiguration requested_configuration)
|
|
|