| Index: content/browser/frame_host/navigation_request.cc
|
| diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
|
| index e08de5755b08783c751151e708b3c9f74494b4b2..a1b6e73d4acca45a20cb1aa7a0b678bd3e0a695a 100644
|
| --- a/content/browser/frame_host/navigation_request.cc
|
| +++ b/content/browser/frame_host/navigation_request.cc
|
| @@ -735,6 +735,14 @@ void NavigationRequest::OnRedirectChecksComplete(
|
| return;
|
| }
|
|
|
| + if (result == NavigationThrottle::BLOCK_REQUEST) {
|
| + OnRequestFailed(false, net::ERR_BLOCKED_BY_CLIENT);
|
| +
|
| + // DO NOT ADD CODE after this. The previous call to OnRequestFailed has
|
| + // destroyed the NavigationRequest.
|
| + return;
|
| + }
|
| +
|
| loader_->FollowRedirect();
|
| }
|
|
|
|
|