Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index e7d12bf0361bff3ddf410d593e8ed9ae34869de0..b73eb8664434c9263ebec611943babf807eb583c 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -287,6 +287,12 @@ class COMPOSITOR_EXPORT Compositor |
// context. |
void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval); |
+ // Most platforms set their vsync info via BrowerCompositorOutputSurface's |
+ // OnUpdateVSyncParametersFromGpu, but Mac routes vsync info via the |
+ // browser compositor instead through this path. |
+ void SetDisplayVSyncParameters(base::TimeTicks timebase, |
+ base::TimeDelta interval); |
+ |
// Sets the widget for the compositor to render into. |
void SetAcceleratedWidget(gfx::AcceleratedWidget widget); |
// Releases the widget previously set through SetAcceleratedWidget(). |