Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 873f2c9d18c197bfc2c1b3281f26d9ebce6e0616..f9e44a9d7bf625de0f795bcb4384a472c1eaf037 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -249,6 +249,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
if (base::FeatureList::IsEnabled(features::kParseHTMLOnMainThread)) |
WebRuntimeFeatures::enableFeatureFromString("ParseHTMLOnMainThread", true); |
+ if (command_line.HasSwitch(switches::kDisableBackgroundTimerThrottling)) |
+ WebRuntimeFeatures::enableTimerThrottlingForBackgroundTabs(false); |
+ |
WebRuntimeFeatures::enableRenderingPipelineThrottling( |
base::FeatureList::IsEnabled(features::kRenderingPipelineThrottling)); |