Index: components/autofill/browser/autofill_country.cc |
=================================================================== |
--- components/autofill/browser/autofill_country.cc (revision 192091) |
+++ components/autofill/browser/autofill_country.cc (working copy) |
@@ -9,6 +9,7 @@ |
#include <map> |
#include <utility> |
+#include "base/i18n/rtl.h" |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/singleton.h" |
@@ -17,7 +18,6 @@ |
#include "base/threading/thread_checker.h" |
#include "base/utf_string_conversions.h" |
#include "content/public/browser/browser_thread.h" |
-#include "content/public/browser/content_browser_client.h" |
#include "grit/generated_resources.h" |
#include "third_party/icu/public/common/unicode/locid.h" |
#include "third_party/icu/public/common/unicode/uloc.h" |
@@ -674,8 +674,7 @@ |
// cases. Hence, the somewhat strange looking DCHECK below. |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI) || |
thread_checker_.CalledOnValidThread()); |
- application_locale_ = |
- content::GetContentClient()->browser()->GetApplicationLocale(); |
+ application_locale_ = base::i18n::GetConfiguredLocale(); |
Ilya Sherman
2013/04/03 23:51:18
Can you use g_browser_process->GetApplicationLocal
jam
2013/04/04 02:45:15
no, since src\components can't depend on src\chrom
Ilya Sherman
2013/04/04 04:05:36
Ah, right, we've been componentized. *sigh*
jam
2013/04/04 17:58:35
are you planning on fixing this soon? I had looked
|
} |
return application_locale_; |