summaryrefslogtreecommitdiffstats
path: root/base/file_util.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 02:03:07 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-31 02:03:07 +0000
commit4a2952faa6a9aa19d02cf671543df4fbe0531b74 (patch)
treee4f7a64bbab78da42f77fa7d036448147f8a8bf6 /base/file_util.cc
parent52d71ad0e30d0b47ed7d156fc28a1c701fdf1ef2 (diff)
downloadchromium_src-4a2952faa6a9aa19d02cf671543df4fbe0531b74.zip
chromium_src-4a2952faa6a9aa19d02cf671543df4fbe0531b74.tar.gz
chromium_src-4a2952faa6a9aa19d02cf671543df4fbe0531b74.tar.bz2
AbsolutePath should probably also work on non-Windows platforms.
Review URL: http://codereview.chromium.org/8949 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.cc')
-rw-r--r--base/file_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util.cc b/base/file_util.cc
index 5644c87..ade8db1 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -298,7 +298,7 @@ bool CloseFile(FILE* file) {
// Deprecated functions ----------------------------------------------------
bool AbsolutePath(std::wstring* path_str) {
- FilePath path(*path_str);
+ FilePath path(FilePath::FromWStringHack(*path_str));
if (!AbsolutePath(&path))
return false;
*path_str = path.ToWStringHack();