Index: content/child/runtime_features.cc |
diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc |
index 109ab6cc51a64cb24739686bfbefeb8201a50827..15e6f8e8b7807d322a1e4404332430fd6eb664aa 100644 |
--- a/content/child/runtime_features.cc |
+++ b/content/child/runtime_features.cc |
@@ -303,6 +303,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs( |
base::FeatureList::IsEnabled(features::kWebPayments)); |
#endif |
+ if (base::FeatureList::IsEnabled(features::kServiceWorkerNavigationPreload)) |
+ WebRuntimeFeatures::enableServiceWorkerNavigationPreload(true); |
+ |
if (base::FeatureList::IsEnabled(features::kSpeculativeLaunchServiceWorker)) |
WebRuntimeFeatures::enableSpeculativeLaunchServiceWorker(true); |