Chromium Code Reviews| Index: ui/compositor/compositor.cc |
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
| index 8b526ff0484d39f867cca661b5bc78acccd08e9d..93f683906f4c717bd5c7a6cde591fed069f15d3a 100644 |
| --- a/ui/compositor/compositor.cc |
| +++ b/ui/compositor/compositor.cc |
| @@ -94,8 +94,13 @@ Compositor::Compositor(gfx::AcceleratedWidget widget, |
| context_factory_->DoesCreateTestContexts() ? kTestRefreshRate |
| : kDefaultRefreshRate; |
| settings.main_frame_before_activation_enabled = false; |
| - settings.renderer_settings.disable_gpu_vsync = |
| - command_line->HasSwitch(switches::kDisableGpuVsync); |
| + settings.renderer_settings.disable_display_vsync = |
| + (command_line->HasSwitch(switches::kDisableGpuVsync) || |
| + command_line->HasSwitch(switches::kDisableDisplayVsync)); |
|
sky
2015/06/29 02:50:19
I would expect this line to indent one more space.
Jimmy Jo
2015/06/29 05:30:07
Done.
|
| + settings.throttle_frame_production = |
| + !(command_line->HasSwitch(switches::kDisableGpuVsync) || |
| + command_line->HasSwitch(cc::switches::kDisableBeginFrameInterval)); |
|
sky
2015/06/29 02:50:19
And same here.
Jimmy Jo
2015/06/29 05:30:07
Done.
|
| + |
| settings.renderer_settings.partial_swap_enabled = |
| !command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); |
| #if defined(OS_CHROMEOS) |