| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index 245fd64476298d162e8e77e6bb0d599e2fcaa92f..91eeb8efcb2c6744cc728635bec06949de32e172 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -105,6 +105,7 @@ DocumentLoader::DocumentLoader(LocalFrame* frame,
|
| m_originalRequest(req),
|
| m_substituteData(substituteData),
|
| m_request(req),
|
| + m_loadType(FrameLoadTypeStandard),
|
| m_isClientRedirect(clientRedirectPolicy ==
|
| ClientRedirectPolicy::ClientRedirect),
|
| m_replacesCurrentHistoryItem(false),
|
| @@ -375,8 +376,8 @@ bool DocumentLoader::redirectReceived(
|
| }
|
| if (!frameLoader().shouldContinueForNavigationPolicy(
|
| m_request, SubstituteData(), this, CheckContentSecurityPolicy,
|
| - m_navigationType, NavigationPolicyCurrentTab,
|
| - replacesCurrentHistoryItem(), isClientRedirect(), nullptr)) {
|
| + m_navigationType, NavigationPolicyCurrentTab, m_loadType,
|
| + isClientRedirect(), nullptr)) {
|
| m_fetcher->stopFetching();
|
| return false;
|
| }
|
|
|