diff options
Diffstat (limited to 'tools/memory_watcher')
-rw-r--r-- | tools/memory_watcher/memory_watcher.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/memory_watcher/memory_watcher.cc b/tools/memory_watcher/memory_watcher.cc index a240b92..0d05fcb 100644 --- a/tools/memory_watcher/memory_watcher.cc +++ b/tools/memory_watcher/memory_watcher.cc @@ -82,8 +82,7 @@ void MemoryWatcher::CloseLogFile() { file_ = NULL; std::wstring tmp_name = ASCIIToWide(file_name_); tmp_name += L".tmp"; - file_util::Move(FilePath::FromWStringHack(tmp_name), - FilePath::FromWStringHack(ASCIIToWide(file_name_))); + file_util::Move(tmp_name, ASCIIToWide(file_name_)); } } |