| Index: chrome/browser/autofill/autofill_country.cc
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_country.cc (revision 142065)
|
| +++ chrome/browser/autofill/autofill_country.cc (working copy)
|
| @@ -422,8 +422,10 @@
|
| }
|
|
|
| const std::string CountryNames::ApplicationLocale() {
|
| - if (application_locale_.empty())
|
| + if (application_locale_.empty()) {
|
| + DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| application_locale_ = g_browser_process->GetApplicationLocale();
|
| + }
|
|
|
| return application_locale_;
|
| }
|
|
|