| 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 d1fdb6b5f1724039b0d8ca1dc28552c5de3447a6..4cfbdac3c73783075a9a0f93ec2b3a2f7cefdf05 100644
|
| --- a/chrome/browser/ui/tab_contents/tab_contents.cc
|
| +++ b/chrome/browser/ui/tab_contents/tab_contents.cc
|
| @@ -11,6 +11,7 @@
|
| #include "chrome/browser/autofill/autofill_manager.h"
|
| #include "chrome/browser/automation/automation_tab_helper.h"
|
| #include "chrome/browser/captive_portal/captive_portal_tab_helper.h"
|
| +#include "chrome/browser/chrome_autofill_client.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"
|
| @@ -91,7 +92,8 @@ TabContents::TabContents(WebContents* contents)
|
| restore_tab_helper_.reset(new RestoreTabHelper(contents));
|
|
|
| autocomplete_history_manager_.reset(new AutocompleteHistoryManager(contents));
|
| - autofill_manager_ = new AutofillManager(this);
|
| + autofill_client_.reset(new ChromeAutofillClient(this));
|
| + autofill_manager_ = new AutofillManager(autofill_client_.get(), this);
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kExternalAutofillPopup)) {
|
| autofill_external_delegate_.reset(
|
|
|