Index: chrome/browser/ui/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc |
index 4b683349122d2251df0ad102f098d406e43f692b..367dbba0894b022ef87989c6bde5a47dd2f6855c 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc |
@@ -117,8 +117,13 @@ TabContents::TabContents(WebContents* contents) |
TabAutofillManagerDelegate::CreateForWebContents(contents); |
AutofillManager::CreateForWebContentsAndDelegate( |
contents, TabAutofillManagerDelegate::FromWebContents(contents)); |
+#if !defined(OS_ANDROID) |
Albert Bodenhamer
2012/10/19 16:46:52
Wrapping an if() in a conditional compile like thi
joth
2012/10/19 22:04:06
Android is just about to stop using tab_contents.c
Ilya Sherman
2012/10/19 22:16:26
Given joth's comment, I've left the code in androi
|
if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kExternalAutofillPopup)) { |
+ switches::kEnableNewAutofillUi)) { |
+#else |
+ // Always enable the external popup on Android. |
+ if (true) { |
+#endif |
AutofillExternalDelegate::CreateForWebContentsAndManager( |
contents, AutofillManager::FromWebContents(contents)); |
AutofillManager::FromWebContents(contents)->SetExternalDelegate( |