Index: base/file_util.cc |
diff --git a/base/file_util.cc b/base/file_util.cc |
index e196ff8c122531b2d3cff5a7ee9d918d57f14b8c..5644c8781c3450c9b93687fea5fb06e2b010539b 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; |
+ FilePath path(*path_str); |
if (!AbsolutePath(&path)) |
return false; |
*path_str = path.ToWStringHack(); |