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 205993824612efaa6fe85cfdb8091d4e62305292..980be19c95da85af65e53753fa08c7ad723d735f 100644 |
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.cc |
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.cc |
@@ -128,11 +128,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 { |
@@ -140,7 +138,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())); |
} |