diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 01:51:44 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 01:51:44 +0000 |
commit | fd061a6017827421b66782eb576b480b939627e3 (patch) | |
tree | 8835b25d3a9a5546ef9d9d748ff7fd35234d00c0 /net/url_request | |
parent | 7dc21e5c1d739c3c263abaf86b953a4d022ba538 (diff) | |
download | chromium_src-fd061a6017827421b66782eb576b480b939627e3.zip chromium_src-fd061a6017827421b66782eb576b480b939627e3.tar.gz chromium_src-fd061a6017827421b66782eb576b480b939627e3.tar.bz2 |
Remove uses of deprecated version of FileUtil::ResolveShortcut.
BUG=None
TEST=run base_unittests.exe
Review URL: http://codereview.chromium.org/173181
Patch from Thiago Farina <thiago.farina@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r-- | net/url_request/url_request_file_job.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/url_request/url_request_file_job.cc b/net/url_request/url_request_file_job.cc index 67f4fb2..aa3ee56 100644 --- a/net/url_request/url_request_file_job.cc +++ b/net/url_request/url_request_file_job.cc @@ -280,7 +280,7 @@ bool URLRequestFileJob::IsRedirectResponse( if (!LowerCaseEqualsASCII(extension, "lnk")) return false; - std::wstring new_path = file_path_.value(); + FilePath new_path = file_path_; bool resolved; resolved = file_util::ResolveShortcut(&new_path); @@ -288,7 +288,7 @@ bool URLRequestFileJob::IsRedirectResponse( if (!resolved) return false; - *location = net::FilePathToFileURL(FilePath(new_path)); + *location = net::FilePathToFileURL(new_path); *http_status_code = 301; return true; #else |