Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: ui/compositor/compositor.cc

Issue 2100203002: Revert of Turn on enable begin frame scheduling by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698