Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.cc b/content/browser/renderer_host/resource_dispatcher_host_impl.cc |
index 855446642fa0e53007084ef72c14bc6d41b02c50..dd6bf7de3b50124e89ef71be0938217fb2cd4334 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc |
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc |
@@ -127,11 +127,9 @@ void AbortRequestBeforeItStarts(ResourceMessageFilter* filter, |
IPC::Message* sync_result, |
int route_id, |
int request_id) { |
- net::URLRequestStatus status(net::URLRequestStatus::FAILED, |
- net::ERR_ABORTED); |
if (sync_result) { |
SyncLoadResult result; |
- result.status = status; |
+ result.error_code = net::ERR_ABORTED; |
ResourceHostMsg_SyncLoad::WriteReplyParams(sync_result, result); |
filter->Send(sync_result); |
} else { |
@@ -139,7 +137,8 @@ void AbortRequestBeforeItStarts(ResourceMessageFilter* filter, |
filter->Send(new ResourceMsg_RequestComplete( |
route_id, |
request_id, |
- status, |
+ net::ERR_ABORTED, |
+ false, |
std::string(), // No security info needed, connection not established. |
base::TimeTicks())); |
} |