| Index: Source/core/loader/DocumentLoader.cpp
|
| diff --git a/Source/core/loader/DocumentLoader.cpp b/Source/core/loader/DocumentLoader.cpp
|
| index 83ddc49d44fbb1da20b5fc1e9bf998d2f496947d..01270e11977fa0a59e51d1cee1c57e253b15ad54 100644
|
| --- a/Source/core/loader/DocumentLoader.cpp
|
| +++ b/Source/core/loader/DocumentLoader.cpp
|
| @@ -297,7 +297,7 @@ bool DocumentLoader::isRedirectAfterPost(const ResourceRequest& newRequest, cons
|
| return false;
|
| }
|
|
|
| -bool DocumentLoader::shouldContinueForNavigationPolicy(const ResourceRequest& request, ContentSecurityPolicyCheck shouldCheckMainWorldContentSecurityPolicy)
|
| +bool DocumentLoader::shouldContinueForNavigationPolicy(const ResourceRequest& request, ContentSecurityPolicyCheck shouldCheckMainWorldContentSecurityPolicy, bool isTransitionNavigation)
|
| {
|
| // Don't ask if we are loading an empty URL.
|
| if (request.url().isEmpty() || m_substituteData.isValid())
|
| @@ -316,7 +316,7 @@ bool DocumentLoader::shouldContinueForNavigationPolicy(const ResourceRequest& re
|
| }
|
|
|
| NavigationPolicy policy = m_triggeringAction.policy();
|
| - policy = frameLoader()->client()->decidePolicyForNavigation(request, this, policy);
|
| + policy = frameLoader()->client()->decidePolicyForNavigation(request, this, policy, isTransitionNavigation);
|
| if (policy == NavigationPolicyCurrentTab)
|
| return true;
|
| if (policy == NavigationPolicyIgnore)
|
|
|