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

Unified Diff: app/l10n_util_unittest.cc

Issue 173418: Avoids the use of ToWStringHack in a few places.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « no previous file | base/file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/l10n_util_unittest.cc
===================================================================
--- app/l10n_util_unittest.cc (revision 24379)
+++ app/l10n_util_unittest.cc (working copy)
@@ -106,7 +106,7 @@
EXPECT_TRUE(file_util::CreateNewTempDirectory(
FILE_PATH_LITERAL("l10n_util_test"),
&new_locale_dir));
- PathService::Override(app::DIR_LOCALES, new_locale_dir.ToWStringHack());
+ PathService::Override(app::DIR_LOCALES, new_locale_dir);
// Make fake locale files.
std::string filenames[] = {
"en-US",
@@ -210,7 +210,7 @@
#endif // defined(OS_WIN)
// Clean up.
- PathService::Override(app::DIR_LOCALES, orig_locale_dir.ToWStringHack());
+ PathService::Override(app::DIR_LOCALES, orig_locale_dir);
file_util::Delete(new_locale_dir, true);
UErrorCode error_code = U_ZERO_ERROR;
icu::Locale::setDefault(locale, error_code);
« no previous file with comments | « no previous file | base/file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698