Index: ui/gfx/gl/gl_surface.cc |
diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc |
index 47f6d6a080515f37c31535068d9a5bb3220e58c0..3ff4fd1479bc88d740e3533af3c919d5e4958a18 100644 |
--- a/ui/gfx/gl/gl_surface.cc |
+++ b/ui/gfx/gl/gl_surface.cc |
@@ -107,7 +107,7 @@ bool GLSurface::OnMakeCurrent(GLContext* context) { |
return true; |
} |
-void GLSurface::SetVisibility(VisibilityState visibility_state) { |
+void GLSurface::SetBufferAllocation(BufferAllocationState state) { |
} |
void* GLSurface::GetShareHandle() { |
@@ -188,8 +188,8 @@ bool GLSurfaceAdapter::OnMakeCurrent(GLContext* context) { |
return surface_->OnMakeCurrent(context); |
} |
-void GLSurfaceAdapter::SetVisibility(VisibilityState visibility_state) { |
- surface_->SetVisibility(visibility_state); |
+void GLSurfaceAdapter::SetBufferAllocation(BufferAllocationState state) { |
+ surface_->SetBufferAllocation(state); |
} |
void* GLSurfaceAdapter::GetShareHandle() { |