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 c65ba7375874ed6cb2114774bbf4c9382b81670f..6f57e5d532578f08c65350c3a4b0478958f56b89 100644 |
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
@@ -58,6 +58,10 @@ bool GpuBrowserCompositorOutputSurface::BindToClient( |
swap_buffers_completion_callback_.callback()); |
GetCommandBufferProxy()->SetUpdateVSyncParametersCallback( |
update_vsync_parameters_callback_.callback()); |
+ if (capabilities_.uses_default_gl_framebuffer) { |
+ capabilities_.flipped_output_surface = |
+ context_provider()->ContextCapabilities().gpu.flips_vertically; |
+ } |
return true; |
} |