| Index: third_party/WebKit/Source/core/frame/Location.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Location.cpp b/third_party/WebKit/Source/core/frame/Location.cpp
|
| index dd3626cd98591d2e1165d3b24faaf97c06725c39..37a04e2bf1476c82944909a7f96cffbcbb3a6f41 100644
|
| --- a/third_party/WebKit/Source/core/frame/Location.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Location.cpp
|
| @@ -248,7 +248,11 @@ void Location::reload(LocalDOMWindow* currentWindow) {
|
| return;
|
| if (protocolIsJavaScript(toLocalFrame(m_frame)->document()->url()))
|
| return;
|
| - m_frame->reload(FrameLoadTypeReload, ClientRedirectPolicy::ClientRedirect);
|
| + FrameLoadType reloadType =
|
| + RuntimeEnabledFeatures::fasterLocationReloadEnabled()
|
| + ? FrameLoadTypeReloadMainResource
|
| + : FrameLoadTypeReload;
|
| + m_frame->reload(reloadType, ClientRedirectPolicy::ClientRedirect);
|
| }
|
|
|
| void Location::setLocation(const String& url,
|
|
|