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