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

Unified Diff: chrome/browser/ui/browser_tab_contents.cc

Issue 13488009: Remove application locale cache in autofill code. (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/ui/browser_tab_contents.cc
===================================================================
--- chrome/browser/ui/browser_tab_contents.cc (revision 192613)
+++ chrome/browser/ui/browser_tab_contents.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/browser_tab_contents.h"
#include "base/command_line.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/content_settings/tab_specific_content_settings.h"
#include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h"
#include "chrome/browser/extensions/tab_helper.h"
@@ -106,7 +107,8 @@
autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents);
AutofillManager::CreateForWebContentsAndDelegate(
web_contents,
- autofill::TabAutofillManagerDelegate::FromWebContents(web_contents));
+ autofill::TabAutofillManagerDelegate::FromWebContents(web_contents),
+ g_browser_process->GetApplicationLocale());
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableNativeAutofillUi)) {
AutofillExternalDelegate::CreateForWebContentsAndManager(
« no previous file with comments | « chrome/browser/ui/autofill/data_model_wrapper.cc ('k') | chrome/browser/ui/webui/options/autofill_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698