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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 13409003: Hide ContentClient getters from embedders so that they they don't reuse content's embedder API. The… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 8 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
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 192622)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -612,8 +612,7 @@
void BrowserProcessImpl::SetApplicationLocale(const std::string& locale) {
locale_ = locale;
extension_l10n_util::SetProcessLocale(locale);
- static_cast<chrome::ChromeContentBrowserClient*>(
- content::GetContentClient()->browser())->SetApplicationLocale(locale);
+ chrome::ChromeContentBrowserClient::SetApplicationLocale(locale);
}
DownloadStatusUpdater* BrowserProcessImpl::download_status_updater() {
« no previous file with comments | « chrome/browser/autofill/risk/fingerprint_browsertest.cc ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698