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..f8ad0a26ff33541b247eb80a834ce6b064a1a298 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc |
@@ -118,7 +118,7 @@ TabContents::TabContents(WebContents* contents) |
AutofillManager::CreateForWebContentsAndDelegate( |
contents, TabAutofillManagerDelegate::FromWebContents(contents)); |
if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kExternalAutofillPopup)) { |
+ switches::kEnableNewAutofillUi)) { |
AutofillExternalDelegate::CreateForWebContentsAndManager( |
contents, AutofillManager::FromWebContents(contents)); |
AutofillManager::FromWebContents(contents)->SetExternalDelegate( |