| Index: content/child/runtime_features.cc
|
| diff --git a/content/child/runtime_features.cc b/content/child/runtime_features.cc
|
| index 96e349ff18aecb2335349ee6861fa8464f0bc3c7..eca23b3f59273b1b621eb6c0a07a3b6379b67c25 100644
|
| --- a/content/child/runtime_features.cc
|
| +++ b/content/child/runtime_features.cc
|
| @@ -314,13 +314,13 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
|
| base::FeatureList::IsEnabled(features::kWebPayments));
|
| #endif
|
|
|
| - // We set the RuntimeEnabledFeatures for Navigation Preload feature only when
|
| - // it is set by "--enable-features" flag.
|
| - // While we are experimenting this feature using Origin Trial, we enable this
|
| - // feature using the field trial mechanism. So FeatureList::IsEnabled() always
|
| - // returns true. But, unless the command line explicitly enabled the feature,
|
| - // this feature should be available only when a valid origin trial token is
|
| - // set. This check is done by the generated code of
|
| + // Sets the RuntimeEnabledFeatures for Navigation Preload feature only when
|
| + // '--enable-features' command line flag is given. While experimenting this
|
| + // feature using Origin-Trial, this base::Feature is enabled by default in
|
| + // content_features.cc. So FeatureList::IsEnabled() always returns true. But,
|
| + // unless the command line explicitly enabled the feature, this feature should
|
| + // be available only when a valid origin trial token is set. This check is
|
| + // done by the generated code of
|
| // blink::OriginTrials::serviceWorkerNavigationPreloadEnabled(). See the
|
| // comments in service_worker_version.h for the details.
|
| if (base::FeatureList::GetInstance()->IsFeatureOverriddenFromCommandLine(
|
|
|