| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index cc6c3b3a76d6e013ad5d55b6400053c0d313acd1..b5b2fd7f1416bebb6ccab412556c25e2fa8e0f10 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/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() {
|
|
|