Index: tools/memory_watcher/memory_watcher.cc |
=================================================================== |
--- tools/memory_watcher/memory_watcher.cc (revision 29088) |
+++ tools/memory_watcher/memory_watcher.cc (working copy) |
@@ -82,7 +82,8 @@ |
file_ = NULL; |
std::wstring tmp_name = ASCIIToWide(file_name_); |
tmp_name += L".tmp"; |
- file_util::Move(tmp_name, ASCIIToWide(file_name_)); |
+ file_util::Move(FilePath::FromWStringHack(tmp_name), |
+ FilePath::FromWStringHack(ASCIIToWide(file_name_))); |
} |
} |