diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 01:59:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 01:59:15 +0000 |
commit | cdb70a70ad4c6076fff85effeb61cfaef2bac429 (patch) | |
tree | c685fa64707262a40d5f11cf67aea4f9ea1d120b /tools/memory_watcher/memory_watcher.cc | |
parent | b88a291b41a2232943116c95c215442be3d5f24e (diff) | |
download | chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.zip chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.gz chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.bz2 |
Remove some deprecated file_util wstring functions.
death to the wstring
TEST=trybots
BUG=none
Review URL: http://codereview.chromium.org/276016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/memory_watcher/memory_watcher.cc')
-rw-r--r-- | tools/memory_watcher/memory_watcher.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/memory_watcher/memory_watcher.cc b/tools/memory_watcher/memory_watcher.cc index 0d05fcb..a240b92 100644 --- a/tools/memory_watcher/memory_watcher.cc +++ b/tools/memory_watcher/memory_watcher.cc @@ -82,7 +82,8 @@ void MemoryWatcher::CloseLogFile() { 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_))); } } |