summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 21:38:11 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-26 21:38:11 +0000
commit07167e8f26d8c0272dd528944f0d105aa2962bab (patch)
tree4afb3d77169a9f1ac873a86cb3eafa824d6e47a0 /chrome/common
parent25a873babf94d9e1647a9722d313b4e52286220d (diff)
downloadchromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.zip
chromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.tar.gz
chromium_src-07167e8f26d8c0272dd528944f0d105aa2962bab.tar.bz2
Change FileStream to use FilePath instead of wstring.
Review URL: http://codereview.chromium.org/18764 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/unzip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/unzip.cc b/chrome/common/unzip.cc
index 4295a21..b59ae8e 100644
--- a/chrome/common/unzip.cc
+++ b/chrome/common/unzip.cc
@@ -62,7 +62,7 @@ static bool ExtractCurrentFile(unzFile zip_file,
net::FileStream stream;
int flags = base::PLATFORM_FILE_CREATE_ALWAYS | base::PLATFORM_FILE_WRITE;
- if (stream.Open(dest_file.ToWStringHack(), flags) != 0)
+ if (stream.Open(dest_file, flags) != 0)
return false;
bool ret = true;