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 8ad8384dbaf8e62208841f95deb10c877d651ceb..a09063fbc6f6cf3276d293e65d7ead9988c28483 100644 |
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
@@ -42,6 +42,14 @@ GpuBrowserCompositorOutputSurface::~GpuBrowserCompositorOutputSurface() { |
UpdateVSyncParametersCallback()); |
} |
+void GpuBrowserCompositorOutputSurface::SetNeedsVSync(bool needs_vsync) { |
+#if defined(OS_WIN) |
+ GetCommandBufferProxy()->SetNeedsVSync(needs_vsync); |
+#else |
+ NOTREACHED(); |
+#endif // defined(OS_WIN) |
+} |
+ |
void GpuBrowserCompositorOutputSurface::OnGpuSwapBuffersCompleted( |
const std::vector<ui::LatencyInfo>& latency_info, |
gfx::SwapResult result, |