summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-24 23:37:04 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-24 23:37:04 +0000
commit498c1a6b2dc98869e0703127565247830227d075 (patch)
tree24de83f7cde502e02b2a0f331154c28aee2ee6ac /chrome/browser/dom_ui
parent0f3cb003bed09985526391ff19f22ef9e0958401 (diff)
downloadchromium_src-498c1a6b2dc98869e0703127565247830227d075.zip
chromium_src-498c1a6b2dc98869e0703127565247830227d075.tar.gz
chromium_src-498c1a6b2dc98869e0703127565247830227d075.tar.bz2
Clean up some net/ code. Change a number of wstrings to FilePaths.
Review URL: http://codereview.chromium.org/12409 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/chrome_url_data_manager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/chrome_url_data_manager.cc b/chrome/browser/dom_ui/chrome_url_data_manager.cc
index 1102b87..b82506a 100644
--- a/chrome/browser/dom_ui/chrome_url_data_manager.cc
+++ b/chrome/browser/dom_ui/chrome_url_data_manager.cc
@@ -331,7 +331,8 @@ void URLRequestChromeJob::StartAsync() {
URLRequestChromeFileJob::URLRequestChromeFileJob(URLRequest* request,
const std::wstring& path)
: URLRequestFileJob(request) {
- this->file_path_ = path; // set URLRequestFileJob::file_path_
+ // set URLRequestFileJob::file_path_
+ this->file_path_ = FilePath::FromWStringHack(path);
}
URLRequestChromeFileJob::~URLRequestChromeFileJob() { }