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(); |
} |