| Index: content/browser/compositor/browser_compositor_output_surface.cc
|
| diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
|
| index 66183edd4d410ba9af3b3ff621f29128581b135e..05d0016a01dac30a81fa2b11b7f7100f3c087347 100644
|
| --- a/content/browser/compositor/browser_compositor_output_surface.cc
|
| +++ b/content/browser/compositor/browser_compositor_output_surface.cc
|
| @@ -88,9 +88,6 @@ bool BrowserCompositorOutputSurface::BindToClient(
|
| if (!OutputSurface::BindToClient(client))
|
| return false;
|
|
|
| - // Pass begin frame source up to Display to use for DisplayScheduler.
|
| - client->SetBeginFrameSource(synthetic_begin_frame_source_.get());
|
| -
|
| // Don't want vsync notifications until there is a client.
|
| if (!use_begin_frame_scheduling_)
|
| vsync_manager_->AddObserver(this);
|
| @@ -127,6 +124,11 @@ void BrowserCompositorOutputSurface::OnUpdateVSyncParametersFromGpu(
|
| vsync_manager_->UpdateVSyncParameters(timebase, interval);
|
| }
|
|
|
| +cc::BeginFrameSource* BrowserCompositorOutputSurface::GetBeginFrameSource() {
|
| + // The BeginFrameSource for the Display and DisplayScheduler to use.
|
| + return synthetic_begin_frame_source_.get();
|
| +}
|
| +
|
| void BrowserCompositorOutputSurface::SetReflector(ReflectorImpl* reflector) {
|
| // Software mirroring is done by doing a GL copy out of the framebuffer - if
|
| // we have overlays then that data will be missing.
|
|
|