Chromium Code Reviews| 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 a047b10686475e946f87bc5cd09d262fbb5026a3..2a81cab4c6b10532adfdf6392156d21d68a79769 100644 |
| --- a/content/browser/frame_host/navigation_request.cc |
| +++ b/content/browser/frame_host/navigation_request.cc |
| @@ -575,7 +575,7 @@ void NavigationRequest::OnStartChecksComplete( |
| if (result == NavigationThrottle::CANCEL_AND_IGNORE || |
| result == NavigationThrottle::CANCEL) { |
| // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE. |
| - frame_tree_node_->ResetNavigationRequest(false); |
| + OnRequestFailed(false, net::ERR_ABORTED); |
|
shaktisahu
2017/01/31 01:57:53
Changes in this file will be replaced by fix of cr
|
| return; |
| } |
| @@ -668,7 +668,7 @@ void NavigationRequest::OnRedirectChecksComplete( |
| if (result == NavigationThrottle::CANCEL_AND_IGNORE || |
| result == NavigationThrottle::CANCEL) { |
| // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE. |
| - frame_tree_node_->ResetNavigationRequest(false); |
| + OnRequestFailed(false, net::ERR_ABORTED); |
| return; |
| } |
| @@ -687,7 +687,7 @@ void NavigationRequest::OnWillProcessResponseChecksComplete( |
| // TODO(clamy): distinguish between CANCEL and CANCEL_AND_IGNORE. |
| frame_tree_node_->navigator()->DiscardPendingEntryIfNeeded( |
| navigation_handle_.get()); |
| - frame_tree_node_->ResetNavigationRequest(false); |
| + OnRequestFailed(false, net::ERR_ABORTED); |
| return; |
| } |