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

Unified Diff: ui/base/l10n/l10n_util_unittest.cc

Issue 834183005: Move two locale functions from rtl.h into l10n_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« base/i18n/rtl.h ('K') | « ui/base/l10n/l10n_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util_unittest.cc
diff --git a/ui/base/l10n/l10n_util_unittest.cc b/ui/base/l10n/l10n_util_unittest.cc
index cc25d367884584dd1fa3c20dfa37c0b8080635cf..423b8e0e1335b5f8f1d424aabd38b6d5d57b2f13 100644
--- a/ui/base/l10n/l10n_util_unittest.cc
+++ b/ui/base/l10n/l10n_util_unittest.cc
@@ -132,7 +132,7 @@ TEST_F(L10nUtilTest, GetAppLocale) {
}
// Keep a copy of ICU's default locale before we overwrite it.
- const std::string original_locale = base::i18n::GetConfiguredLocale();
+ const std::string original_locale = l10n_util::GetConfiguredLocale();
if (kPlatformHasDefaultLocale && kUseLocaleFromEnvironment) {
env.reset(base::Environment::Create());
@@ -463,7 +463,7 @@ TEST_F(L10nUtilTest, GetDisplayNameForLocale) {
// direction neutral characters such as parentheses are properly formatted.
// Keep a copy of ICU's default locale before we overwrite it.
- const std::string original_locale = base::i18n::GetConfiguredLocale();
+ const std::string original_locale = l10n_util::GetConfiguredLocale();
base::i18n::SetICUDefaultLocale("he");
CheckUiDisplayNameForLocale("en-US", "en", false);
« base/i18n/rtl.h ('K') | « ui/base/l10n/l10n_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698