Index: content/common/gpu/null_transport_surface.cc |
diff --git a/content/common/gpu/null_transport_surface.cc b/content/common/gpu/null_transport_surface.cc |
index ebcea853a675f95a1d5a736e5754eb21d334da86..33521a06d4c4965468afd69bce6aace448e28606 100644 |
--- a/content/common/gpu/null_transport_surface.cc |
+++ b/content/common/gpu/null_transport_surface.cc |
@@ -49,15 +49,17 @@ void NullTransportSurface::Destroy() { |
// Do not destroy |surface_| since we use the shared offscreen surface. |
} |
-bool NullTransportSurface::SwapBuffers() { |
+gfx::SwapResult NullTransportSurface::SwapBuffers() { |
NOTIMPLEMENTED(); |
- return false; |
+ return gfx::SwapResult::SWAP_FAILED; |
} |
-bool NullTransportSurface::PostSubBuffer( |
- int x, int y, int width, int height) { |
+gfx::SwapResult NullTransportSurface::PostSubBuffer(int x, |
+ int y, |
+ int width, |
+ int height) { |
NOTIMPLEMENTED(); |
- return false; |
+ return gfx::SwapResult::SWAP_FAILED; |
} |
void NullTransportSurface::SendVSyncUpdateIfAvailable() { |