| Index: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
| diff --git a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
| index b70436b17c7c007b3c5151a2d68ebc43e0c24eae..90c2fcc6e5ee3dadff9ecba8a6842ef1819f8c50 100644
|
| --- a/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
| +++ b/content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.cc
|
| @@ -65,22 +65,7 @@ unsigned GpuSurfacelessBrowserCompositorOutputSurface::GetOverlayTextureId()
|
| void GpuSurfacelessBrowserCompositorOutputSurface::SwapBuffers(
|
| cc::CompositorFrame* frame) {
|
| DCHECK(output_surface_);
|
| -
|
| - GLuint texture = output_surface_->current_texture_id();
|
| output_surface_->SwapBuffers(frame->gl_frame_data->sub_buffer_rect);
|
| - const gfx::Size& size = frame->gl_frame_data->size;
|
| - context_provider_->ContextGL()->ScheduleOverlayPlaneCHROMIUM(
|
| - 0,
|
| - GL_OVERLAY_TRANSFORM_NONE_CHROMIUM,
|
| - texture,
|
| - 0,
|
| - 0,
|
| - size.width(),
|
| - size.height(),
|
| - 0,
|
| - 0,
|
| - 1.0f,
|
| - 1.0f);
|
| GpuBrowserCompositorOutputSurface::SwapBuffers(frame);
|
| }
|
|
|
|
|