Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index ce8234f50935c5d19712a319c009fa0c0a751484..5869d8f80bc000aab0c5b52edd80f1b2253c1153 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -332,8 +332,8 @@ |
void Compositor::SetAuthoritativeVSyncInterval( |
const base::TimeDelta& interval) { |
context_factory_->SetAuthoritativeVSyncInterval(this, interval); |
- if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
- cc::switches::kDisableBeginFrameScheduling)) { |
+ if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ cc::switches::kEnableBeginFrameScheduling)) { |
vsync_manager_->SetAuthoritativeVSyncInterval(interval); |
} |
} |