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

Unified Diff: tools/gn/generate_test_gn_data.cc

Issue 121123002: Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, sandbox/, skia/, sql/, sync/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « tools/gn/function_exec_script.cc ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/generate_test_gn_data.cc
diff --git a/tools/gn/generate_test_gn_data.cc b/tools/gn/generate_test_gn_data.cc
index 730ae990c14e7453ecd6cb81068d20ba7b7d78f6..cebf3a0491d462831909edbb404004cccc5325ea 100644
--- a/tools/gn/generate_test_gn_data.cc
+++ b/tools/gn/generate_test_gn_data.cc
@@ -18,7 +18,7 @@ int targets_written = 0;
base::FilePath UTF8ToFilePath(const std::string& s) {
#if defined(OS_WIN)
- return base::FilePath(UTF8ToWide(s));
+ return base::FilePath(base::UTF8ToWide(s));
#else
return base::FilePath(s);
#endif
@@ -26,7 +26,7 @@ base::FilePath UTF8ToFilePath(const std::string& s) {
std::string FilePathToUTF8(const base::FilePath& path) {
#if defined(OS_WIN)
- return WideToUTF8(path.value());
+ return base::WideToUTF8(path.value());
#else
return path.value();
#endif
« no previous file with comments | « tools/gn/function_exec_script.cc ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698