| Index: content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
| diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.cc b/content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
| index d663726cda9947827ee1887f72fb2562a3b4ffbd..ffe7868eed676f07b6af225c5df53c664924f8ae 100644
|
| --- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
| +++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc
|
| @@ -116,8 +116,11 @@ void GpuBrowserCompositorOutputSurface::SwapBuffers(
|
| }
|
|
|
| if (frame.sub_buffer_rect) {
|
| + DCHECK(frame.content_bounds.empty());
|
| context_provider_->ContextSupport()->PartialSwapBuffers(
|
| *frame.sub_buffer_rect);
|
| + } else if (!frame.content_bounds.empty()) {
|
| + context_provider_->ContextSupport()->SwapWithBounds(frame.content_bounds);
|
| } else {
|
| context_provider_->ContextSupport()->Swap();
|
| }
|
|
|