Index: content/common/gpu/image_transport_surface_mac.mm |
diff --git a/content/common/gpu/image_transport_surface_mac.mm b/content/common/gpu/image_transport_surface_mac.mm |
index 04b6bc3b4d542372e50fe1e7ce02749c4df7af03..7966d5ac71202b4217c0b07f9c870b5bfcdf9dc7 100644 |
--- a/content/common/gpu/image_transport_surface_mac.mm |
+++ b/content/common/gpu/image_transport_surface_mac.mm |
@@ -28,15 +28,15 @@ |
: GLSurfaceOSMesa(gfx::OSMesaSurfaceFormatRGBA, gfx::Size(1, 1)) {} |
// Implement a subset of GLSurface. |
- gfx::SwapResult SwapBuffers() override; |
+ bool SwapBuffers() override; |
private: |
~DRTSurfaceOSMesa() override {} |
DISALLOW_COPY_AND_ASSIGN(DRTSurfaceOSMesa); |
}; |
-gfx::SwapResult DRTSurfaceOSMesa::SwapBuffers() { |
- return gfx::SwapResult::SWAP_ACK; |
+bool DRTSurfaceOSMesa::SwapBuffers() { |
+ return true; |
} |
bool g_allow_os_mesa = false; |