| 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 93d9887eed0109858c360b3ac98c8b1f21d3dc7d..0fa8adf29875200f0874ae8ff90e031f309a41ae 100644
|
| --- a/content/browser/frame_host/navigation_request.cc
|
| +++ b/content/browser/frame_host/navigation_request.cc
|
| @@ -288,7 +288,9 @@ void NavigationRequest::OnStartChecksComplete(
|
| CHECK(result != NavigationThrottle::DEFER);
|
|
|
| // Abort the request if needed. This will destroy the NavigationRequest.
|
| - if (result == NavigationThrottle::CANCEL_AND_IGNORE) {
|
| + if (result == NavigationThrottle::CANCEL_AND_IGNORE ||
|
| + result == NavigationThrottle::CANCEL) {
|
| + // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE.
|
| frame_tree_node_->ResetNavigationRequest(false);
|
| return;
|
| }
|
| @@ -303,7 +305,9 @@ void NavigationRequest::OnRedirectChecksComplete(
|
| CHECK(result != NavigationThrottle::DEFER);
|
|
|
| // Abort the request if needed. This will destroy the NavigationRequest.
|
| - if (result == NavigationThrottle::CANCEL_AND_IGNORE) {
|
| + if (result == NavigationThrottle::CANCEL_AND_IGNORE ||
|
| + result == NavigationThrottle::CANCEL) {
|
| + // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE.
|
| frame_tree_node_->ResetNavigationRequest(false);
|
| return;
|
| }
|
|
|