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

Unified Diff: chrome/test/perf/startup_test.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « chrome/installer/util/user_experiment.cc ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/startup_test.cc
diff --git a/chrome/test/perf/startup_test.cc b/chrome/test/perf/startup_test.cc
index 2f93bb0e6b6d3a66fbd5585fc0bbda46b3fa2570..8fe062a07a7547fac2f1036555e84b68e5329ded 100644
--- a/chrome/test/perf/startup_test.cc
+++ b/chrome/test/perf/startup_test.cc
@@ -135,10 +135,10 @@ class StartupTest : public UIPerfTest {
// Rewrite prefs file.
std::vector<base::string16> subst;
subst.push_back(base::WideToUTF16(user_data_dir_w));
- const std::string prefs_string =
- UTF16ToASCII(ReplaceStringPlaceholders(format_string, subst, NULL));
+ const std::string prefs_string = base::UTF16ToASCII(
+ ReplaceStringPlaceholders(format_string, subst, NULL));
EXPECT_TRUE(base::WriteFile(pref_path, prefs_string.c_str(),
- prefs_string.size()));
+ prefs_string.size()));
file_util::EvictFileFromSystemCache(pref_path);
}
« no previous file with comments | « chrome/installer/util/user_experiment.cc ('k') | chrome/test/pyautolib/pyautolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698