Index: ui/gl/gl_surface.cc |
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc |
index c3696f7896126388ede40c3077b226345ab5c875..0ec74f35cffd3266830fa21140fab3c2f272f4c3 100644 |
--- a/ui/gl/gl_surface.cc |
+++ b/ui/gl/gl_surface.cc |
@@ -51,6 +51,10 @@ bool GLSurface::DeferDraws() { |
return false; |
} |
+bool GLSurface::SupportsSwapBuffersWithDamage() { |
+ return false; |
+} |
+ |
bool GLSurface::SupportsPostSubBuffer() { |
return false; |
} |
@@ -71,6 +75,13 @@ void GLSurface::SwapBuffersAsync(const SwapCompletionCallback& callback) { |
NOTREACHED(); |
} |
+gfx::SwapResult GLSurface::SwapBuffersWithDamage(int x, |
+ int y, |
+ int width, |
+ int height) { |
+ return gfx::SwapResult::SWAP_FAILED; |
+} |
+ |
gfx::SwapResult GLSurface::PostSubBuffer(int x, int y, int width, int height) { |
return gfx::SwapResult::SWAP_FAILED; |
} |