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

Unified Diff: third_party/WebKit/Source/core/frame/History.cpp

Issue 2752203002: FasterLocationReload: remove the field trial flag (Closed)
Patch Set: Created 3 years, 9 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 | « content/public/common/content_features.cc ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/History.cpp
diff --git a/third_party/WebKit/Source/core/frame/History.cpp b/third_party/WebKit/Source/core/frame/History.cpp
index 245f757ea1813e097d610a7b5ba4441ab6e06c45..59c101e2985c9d715bd50d0f524646fbb866d8d8 100644
--- a/third_party/WebKit/Source/core/frame/History.cpp
+++ b/third_party/WebKit/Source/core/frame/History.cpp
@@ -35,7 +35,6 @@
#include "core/loader/HistoryItem.h"
#include "core/loader/NavigationScheduler.h"
#include "core/page/Page.h"
-#include "platform/RuntimeEnabledFeatures.h"
#include "platform/weborigin/KURL.h"
#include "platform/weborigin/SecurityOrigin.h"
#include "wtf/text/StringView.h"
@@ -153,11 +152,8 @@ void History::go(ScriptState* scriptState, int delta) {
// Otherwise, navigation happens on the root frame.
// This behavior is designed in the following spec.
// https://html.spec.whatwg.org/multipage/browsers.html#dom-history-go
- FrameLoadType reloadType =
- RuntimeEnabledFeatures::fasterLocationReloadEnabled()
- ? FrameLoadTypeReloadMainResource
- : FrameLoadTypeReload;
- frame()->reload(reloadType, ClientRedirectPolicy::ClientRedirect);
+ frame()->reload(FrameLoadTypeReloadMainResource,
+ ClientRedirectPolicy::ClientRedirect);
}
}
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698