diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/file_util.cc | 2 |
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(); |