| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index 35443f459933b0a02c3632031db2acf89c161653..e85c5790536e2394e81874bdf0740fbb8ececd39 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -20,6 +20,7 @@
|
| #include "cc/layers/layer.h"
|
| #include "cc/output/begin_frame_args.h"
|
| #include "cc/output/context_provider.h"
|
| +#include "cc/scheduler/begin_frame_source.h"
|
| #include "cc/surfaces/surface_id_allocator.h"
|
| #include "cc/trees/layer_tree_host.h"
|
| #include "third_party/skia/include/core/SkBitmap.h"
|
| @@ -144,7 +145,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
|
| context_factory_->GetGpuMemoryBufferManager(),
|
| settings,
|
| task_runner_,
|
| - compositor_thread_loop_);
|
| + compositor_thread_loop_,
|
| + nullptr);
|
| } else {
|
| host_ = cc::LayerTreeHost::CreateSingleThreaded(
|
| this,
|
| @@ -152,7 +154,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget,
|
| context_factory_->GetSharedBitmapManager(),
|
| context_factory_->GetGpuMemoryBufferManager(),
|
| settings,
|
| - task_runner_);
|
| + task_runner_,
|
| + nullptr);
|
| }
|
| UMA_HISTOGRAM_TIMES("GPU.CreateBrowserCompositor",
|
| base::TimeTicks::Now() - before_create);
|
|
|