diff options
author | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:38:11 +0000 |
---|---|---|
committer | erikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 21:38:11 +0000 |
commit | 07167e8f26d8c0272dd528944f0d105aa2962bab (patch) | |
tree | 4afb3d77169a9f1ac873a86cb3eafa824d6e47a0 /chrome/common | |
parent | 25a873babf94d9e1647a9722d313b4e52286220d (diff) | |
download | chromium_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.cc | 2 |
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; |