Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 91302734c727812b0170acef6a2794d2ba0a699c..1db2596944283be653db8f347d125aee39efa9d0 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -210,6 +210,10 @@ Compositor::Compositor(gfx::AcceleratedWidget widget) |
ContextFactory::GetInstance()->DoesCreateTestContexts() |
? kTestRefreshRate |
: kDefaultRefreshRate; |
+ settings.start_commit_before_draw_enabled = |
+ cc::switches::IsStartCommitBeforeDrawEnabled(); |
+ settings.start_commit_before_activate_enabled = |
+ cc::switches::IsStartCommitBeforeActivateEnabled(); |
settings.partial_swap_enabled = |
!command_line->HasSwitch(cc::switches::kUIDisablePartialSwap); |
#if defined(OS_CHROMEOS) |