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 f0184f56bb33c50e00576ebe0258ee100abc4c16..b06d71d96484ffef07365f1df66eac75b742e707 100644 |
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.cc |
@@ -44,6 +44,14 @@ GpuBrowserCompositorOutputSurface::~GpuBrowserCompositorOutputSurface() { |
UpdateVSyncParametersCallback()); |
} |
+void GpuBrowserCompositorOutputSurface::SetNeedsVSync(bool needs_vsync) { |
enne (OOO)
2017/01/24 21:32:07
I still think this is a little bit confusing of a
stanisc
2017/01/24 22:22:40
When D3D VSync feature is enabled that fully repla
|
+#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, |