summaryrefslogtreecommitdiffstats
path: root/tools/memory_watcher
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:23:14 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:23:14 +0000
commit0da011cfec84c36f706d991ac7e3a497b9a20e4a (patch)
treec712e851515eac33cad325796fc7e425d28b45ae /tools/memory_watcher
parent705097651f83b400621be7bd553052636adad05a (diff)
downloadchromium_src-0da011cfec84c36f706d991ac7e3a497b9a20e4a.zip
chromium_src-0da011cfec84c36f706d991ac7e3a497b9a20e4a.tar.gz
chromium_src-0da011cfec84c36f706d991ac7e3a497b9a20e4a.tar.bz2
wstring: remove some simple uses of FromWStringHack
BUG=76112 Review URL: http://codereview.chromium.org/6695008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/memory_watcher')
-rw-r--r--tools/memory_watcher/memory_watcher.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/memory_watcher/memory_watcher.cc b/tools/memory_watcher/memory_watcher.cc
index 671d2b9..77faa8b 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(FilePath(tmp_name), FilePath(ASCIIToWide(file_name_)));
}
}