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

Unified Diff: content/child/runtime_features.cc

Issue 2852433004: Add an experimental flag to change location.reload to take a hard-reload (Closed)
Patch Set: Merge branch 'master' into 2852433004 Created 3 years, 7 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 | « chrome/browser/flag_descriptions.cc ('k') | content/public/common/content_features.h » ('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 b3096b27f628988837e996873b97600636a0bc34..a3f3e31fb70fef63c9051be7da40b342f5d2dc9a 100644
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -381,6 +381,9 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
}
#endif
+ WebRuntimeFeatures::EnableLocationHardReload(
+ base::FeatureList::IsEnabled(features::kLocationHardReload));
+
// Enable explicitly enabled features, and then disable explicitly disabled
// ones.
if (command_line.HasSwitch(switches::kEnableBlinkFeatures)) {
« no previous file with comments | « chrome/browser/flag_descriptions.cc ('k') | content/public/common/content_features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698