| Index: ui/gfx/gl/gl_surface.cc
|
| diff --git a/ui/gfx/gl/gl_surface.cc b/ui/gfx/gl/gl_surface.cc
|
| index 401ecb269132c845992d05d80ec9506baeea3f1c..aa91f8a8ab5cee0897cd94f54d41da60e6d26a5e 100644
|
| --- a/ui/gfx/gl/gl_surface.cc
|
| +++ b/ui/gfx/gl/gl_surface.cc
|
| @@ -101,7 +101,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() {
|
| @@ -183,8 +186,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() {
|
|
|