Index: content/common/gpu/client/content_gl_context.cc |
diff --git a/content/common/gpu/client/content_gl_context.cc b/content/common/gpu/client/content_gl_context.cc |
index 9e090768b369358a98a7befb3e9de6acede86077..3ee10af4232b142f35338a0e698e4c89e1030045 100644 |
--- a/content/common/gpu/client/content_gl_context.cc |
+++ b/content/common/gpu/client/content_gl_context.cc |
@@ -279,6 +279,14 @@ bool ContentGLContext::SetSurfaceVisible(bool visible) { |
return GetCommandBufferProxy()->SetSurfaceVisible(visible); |
} |
+bool ContentGLContext::DiscardBackbuffer() { |
+ return GetCommandBufferProxy()->DiscardBackbuffer(); |
+} |
+ |
+bool ContentGLContext::EnsureBackbuffer() { |
+ return GetCommandBufferProxy()->EnsureBackbuffer(); |
+} |
+ |
void ContentGLContext::SetMemoryAllocationChangedCallback( |
const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& |
callback) { |