Chromium Code Reviews

Unified Diff: net/url_request/url_request_file_job.cc

Issue 63011: Monster FilePath patch! (Closed)
Patch Set: sync with trunk Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_file_job.cc
diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc
index 097169f02cf0f4637d3526138e2c6a4550dc795d..db3ff13afa0d6614bb4716ace2e559d58608180c 100644
--- a/net/url_request/url_request_file_job.cc
+++ b/net/url_request/url_request_file_job.cc
@@ -238,7 +238,7 @@ bool URLRequestFileJob::IsRedirectResponse(
if (!resolved)
return false;
- *location = net::FilePathToFileURL(new_path);
+ *location = net::FilePathToFileURL(FilePath(new_path));
*http_status_code = 301;
return true;
#else
« no previous file with comments | « net/url_request/url_request.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine