Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 25503728b1b3d582099667f6619e37406d946cb8..7fdc93ecb0b7886b7c110a926a143ba9c79aa32a 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -212,6 +212,8 @@ Compositor::Compositor(gfx::AcceleratedWidget widget) |
: kDefaultRefreshRate; |
settings.main_frame_before_draw_enabled = false; |
settings.main_frame_before_activation_enabled = false; |
+ settings.throttle_frame_production = |
+ !command_line->HasSwitch(switches::kDisableGpuVsync); |
brianderson
2014/03/13 21:11:52
This is needed to get aura-based platforms to hono
Sami
2014/03/14 15:34:58
+1 for a separate patch so we can more easily tell
|
settings.partial_swap_enabled = |
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); |
#if defined(OS_CHROMEOS) |