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

Unified Diff: ui/compositor/compositor.cc

Issue 1939253002: Turn on enable begin frame scheduling by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 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);
}
}
« 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