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