Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 837230d02d7bf9212391ac3085a78d11ddfd15c5..a1459ba01cdfd74777a2ba965a0f9a85fec26424 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -257,6 +257,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
base::FeatureList::IsEnabled(features::kWebPayments)); |
#endif |
+ if (base::FeatureList::IsEnabled(features::kSpeculativeLaunchServiceWorker)) |
+ WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(true); |
+ |
// Enable explicitly enabled features, and then disable explicitly disabled |
// ones. |
if (command_line.HasSwitch(switches::kEnableBlinkFeatures)) { |