Index: content/browser/loader/navigation_resource_handler.cc |
diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc |
index 393b295776e4a935a117c2abece15d16d7f37fae..ec6119a830cd7485aed3c9e6e739c184887bbe83 100644 |
--- a/content/browser/loader/navigation_resource_handler.cc |
+++ b/content/browser/loader/navigation_resource_handler.cc |
@@ -29,7 +29,7 @@ NavigationResourceHandler::NavigationResourceHandler( |
NavigationResourceHandler::~NavigationResourceHandler() { |
if (core_) { |
- core_->NotifyRequestFailed(net::ERR_ABORTED); |
+ core_->NotifyRequestFailed(false, net::ERR_ABORTED); |
DetachFromCore(); |
} |
} |
@@ -131,7 +131,8 @@ void NavigationResourceHandler::OnResponseCompleted( |
if (core_) { |
DCHECK_NE(net::OK, status.error()); |
- core_->NotifyRequestFailed(status.error()); |
+ core_->NotifyRequestFailed(request()->response_info().was_cached, |
+ status.error()); |
DetachFromCore(); |
} |
} |