Index: ui/gfx/gl/gl_surface.cc |
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc |
index 3ff4fd1479bc88d740e3533af3c919d5e4958a18..19edb88eac543b7e469c487a64c980f0ced8ed89 100644 |
--- a/ui/gfx/gl/gl_surface.cc |
+++ b/ui/gfx/gl/gl_surface.cc |
@@ -107,7 +107,10 @@ bool GLSurface::OnMakeCurrent(GLContext* context) { |
return true; |
} |
-void GLSurface::SetBufferAllocation(BufferAllocationState state) { |
+void GLSurface::SetBackbufferAllocation(bool allocated) { |
+} |
+ |
+void GLSurface::SetFrontbufferAllocation(bool allocated) { |
} |
void* GLSurface::GetShareHandle() { |
@@ -188,8 +191,12 @@ bool GLSurfaceAdapter::OnMakeCurrent(GLContext* context) { |
return surface_->OnMakeCurrent(context); |
} |
-void GLSurfaceAdapter::SetBufferAllocation(BufferAllocationState state) { |
- surface_->SetBufferAllocation(state); |
+void GLSurfaceAdapter::SetBackbufferAllocation(bool allocated) { |
+ surface_->SetBackbufferAllocation(allocated); |
+} |
+ |
+void GLSurfaceAdapter::SetFrontbufferAllocation(bool allocated) { |
+ surface_->SetFrontbufferAllocation(allocated); |
} |
void* GLSurfaceAdapter::GetShareHandle() { |