Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/weburlloader_impl.cc
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 5e579b835bfb4ac557e89f819659aaab583025b4..ad28f41c5bcd7392aa054ca950e2b151e24d6a99 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -616,7 +616,7 @@ void WebURLLoaderImpl::Context::OnCompletedRequest(
// to an error page.
error_code = net::ERR_ABORTED;
} else {
- error_code = status.os_error();
+ error_code = status.error();
}
WebURLError error;
if (error_code == net::ERR_ABORTED)
@@ -700,7 +700,7 @@ void WebURLLoaderImpl::loadSynchronously(const WebURLRequest& request,
status != net::URLRequestStatus::HANDLED_EXTERNALLY) {
response.setURL(final_url);
error.domain = WebString::fromUTF8(net::kErrorDomain);
- error.reason = sync_load_response.status.os_error();
+ error.reason = sync_load_response.status.error();
error.unreachableURL = final_url;
return;
}
« no previous file with comments | « webkit/fileapi/file_system_url_request_job_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698