Index: ui/views/view_unittest.cc |
diff --git a/ui/views/view_unittest.cc b/ui/views/view_unittest.cc |
index cabf5d491bdd61a2b63acfd2777d1fc1247d6de9..c65eb9b6ce99dbd5c2163827ac66aaa5bce766fa 100644 |
--- a/ui/views/view_unittest.cc |
+++ b/ui/views/view_unittest.cc |
@@ -4,6 +4,7 @@ |
#include <map> |
+#include "base/i18n/rtl.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/rand_util.h" |
#include "base/strings/string_util.h" |
@@ -182,7 +183,7 @@ void ScrambleTree(views::View* view) { |
class ScopedRTL { |
public: |
ScopedRTL() { |
- locale_ = l10n_util::GetApplicationLocale(std::string()); |
+ locale_ = base::i18n::GetConfiguredLocale(); |
base::i18n::SetICUDefaultLocale("he"); |
} |
~ScopedRTL() { base::i18n::SetICUDefaultLocale(locale_); } |