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

Unified Diff: content/child/runtime_features.cc

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 8 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/child/blink_platform_impl.cc ('k') | content/child/scheduler/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/runtime_features.cc
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
index 37d6e3e90bd597f6e95a3aee1f73e54091739daf..b4d5df5d96aab3dcd7d960057e8f4d94a1a74dd1 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -9,6 +9,7 @@
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "base/strings/string_split.h"
+#include "components/scheduler/common/scheduler_switches.h"
#include "content/common/content_switches_internal.h"
#include "content/public/common/content_switches.h"
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
@@ -96,7 +97,7 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
if (command_line.HasSwitch(switches::kDisableDatabases))
WebRuntimeFeatures::enableDatabase(false);
- if (command_line.HasSwitch(switches::kDisableBlinkScheduler))
+ if (command_line.HasSwitch(scheduler::switches::kDisableBlinkScheduler))
WebRuntimeFeatures::enableBlinkScheduler(false);
if (command_line.HasSwitch(switches::kDisableLocalStorage))
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/scheduler/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698