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

Unified Diff: chrome/browser/android/tab_android.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
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_external_delegate_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.cc
===================================================================
--- chrome/browser/android/tab_android.cc (revision 192613)
+++ chrome/browser/android/tab_android.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/android/tab_android.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/content_settings/tab_specific_content_settings.h"
#include "chrome/browser/extensions/tab_helper.h"
#include "chrome/browser/favicon/favicon_tab_helper.h"
@@ -64,7 +65,8 @@
autofill::TabAutofillManagerDelegate::CreateForWebContents(contents);
AutofillManager::CreateForWebContentsAndDelegate(
contents,
- autofill::TabAutofillManagerDelegate::FromWebContents(contents));
+ autofill::TabAutofillManagerDelegate::FromWebContents(contents),
+ g_browser_process->GetApplicationLocale());
AutofillExternalDelegate::CreateForWebContentsAndManager(
contents, AutofillManager::FromWebContents(contents));
AutofillManager::FromWebContents(contents)->SetExternalDelegate(
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_external_delegate_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698