| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index 8b9b9c31b221d3089bead79127ce297838ae5330..fc83f34e5e58541982cf5f48a46a1c996edd2d20 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -386,6 +386,8 @@ Compositor::Compositor(CompositorDelegate* delegate,
|
| ContextFactory::GetInstance()->DoesCreateTestContexts()
|
| ? kTestRefreshRate
|
| : kDefaultRefreshRate;
|
| + settings.deadline_scheduling_enabled =
|
| + cc::switches::IsDeadlineSchedulingEnabled();
|
| settings.partial_swap_enabled =
|
| !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap);
|
| settings.per_tile_painting_enabled =
|
| @@ -533,6 +535,10 @@ void Compositor::Terminate() {
|
| g_compositor_initialized = false;
|
| }
|
|
|
| +const cc::LayerTreeSettings& Compositor::layer_tree_settings() const {
|
| + return host_->settings();
|
| +}
|
| +
|
| void Compositor::ScheduleDraw() {
|
| if (g_compositor_thread)
|
| host_->Composite(base::TimeTicks::Now());
|
|
|