Index: chrome/browser/autofill/autofill_country.cc |
diff --git a/chrome/browser/autofill/autofill_country.cc b/chrome/browser/autofill/autofill_country.cc |
index 2dea6af516e00001a50c0e913444d6fbdeb6febd..ff12e29b627153afd59300d86d01740cad26bc2b 100644 |
--- a/chrome/browser/autofill/autofill_country.cc |
+++ b/chrome/browser/autofill/autofill_country.cc |
@@ -15,7 +15,7 @@ |
#include "base/stl_util.h" |
#include "base/string_util.h" |
#include "base/utf_string_conversions.h" |
-#include "chrome/browser/browser_process.h" |
+#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/browser_thread.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -424,7 +424,8 @@ CountryNames* CountryNames::GetInstance() { |
const std::string CountryNames::ApplicationLocale() { |
if (application_locale_.empty()) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
- application_locale_ = g_browser_process->GetApplicationLocale(); |
+ application_locale_ = |
+ content::GetContentClient()->browser()->GetApplicationLocale(); |
} |
return application_locale_; |