Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1372)

Unified Diff: tools/memory_watcher/memory_watcher.cc

Issue 276016: Remove some deprecated file_util wstring functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: lint Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/vector_canvas_unittest.cc ('k') | webkit/default_plugin/plugin_database_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/memory_watcher/memory_watcher.cc
===================================================================
--- tools/memory_watcher/memory_watcher.cc (revision 29006)
+++ 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_)));
}
}
« no previous file with comments | « skia/ext/vector_canvas_unittest.cc ('k') | webkit/default_plugin/plugin_database_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698