diff options
Diffstat (limited to 'app/l10n_util_unittest.cc')
-rw-r--r-- | app/l10n_util_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/l10n_util_unittest.cc b/app/l10n_util_unittest.cc index d763484..db7d342 100644 --- a/app/l10n_util_unittest.cc +++ b/app/l10n_util_unittest.cc @@ -106,7 +106,7 @@ TEST_F(L10nUtilTest, GetAppLocale) { 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 @@ TEST_F(L10nUtilTest, GetAppLocale) { #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); |