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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.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
Index: content/browser/compositor/browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc
index b5fbbcf6eb6f04b87ecba1107267c7bb05c2a384..bf6aef13b92f2a1edf4b6144e8c35e15b3b38e90 100644
--- a/content/browser/compositor/browser_compositor_output_surface.cc
+++ b/content/browser/compositor/browser_compositor_output_surface.cc
@@ -31,8 +31,8 @@ BrowserCompositorOutputSurface::BrowserCompositorOutputSurface(
synthetic_begin_frame_source_(begin_frame_source),
reflector_(nullptr),
use_begin_frame_scheduling_(
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- cc::switches::kEnableBeginFrameScheduling)) {
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ cc::switches::kDisableBeginFrameScheduling)) {
overlay_candidate_validator_ = std::move(overlay_candidate_validator);
Initialize();
}
@@ -46,8 +46,8 @@ BrowserCompositorOutputSurface::BrowserCompositorOutputSurface(
synthetic_begin_frame_source_(begin_frame_source),
reflector_(nullptr),
use_begin_frame_scheduling_(
- base::CommandLine::ForCurrentProcess()->HasSwitch(
- cc::switches::kEnableBeginFrameScheduling)) {
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ cc::switches::kDisableBeginFrameScheduling)) {
Initialize();
}
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698