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 b630b9280404db8f4398162a93ee84c01923d146..ff08ca2c43eacb6baa6b1144ead367ff0ea31274 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc |
@@ -116,7 +116,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( |