Index: chrome/browser/ui/tab_helpers.cc |
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc |
index 4cb2ea9ac173da5edb4c94bf2209c6077f50ad24..87dfbebdd367f600aea88e02138d5110d30be1c6 100644 |
--- a/chrome/browser/ui/tab_helpers.cc |
+++ b/chrome/browser/ui/tab_helpers.cc |
@@ -118,11 +118,14 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) { |
// --- Common tab helpers --- |
+ ChromePasswordManagerClient::CreateForWebContents(web_contents); |
+ |
AlternateErrorPageTabObserver::CreateForWebContents(web_contents); |
autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents); |
autofill::AutofillDriverImpl::CreateForWebContentsAndDelegate( |
web_contents, |
autofill::TabAutofillManagerDelegate::FromWebContents(web_contents), |
+ ChromePasswordManagerClient::FromWebContents(web_contents)->GetDriver(), |
g_browser_process->GetApplicationLocale(), |
autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER); |
BookmarkTabHelper::CreateForWebContents(web_contents); |
@@ -134,7 +137,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) { |
HistoryTabHelper::CreateForWebContents(web_contents); |
InfoBarService::CreateForWebContents(web_contents); |
NavigationMetricsRecorder::CreateForWebContents(web_contents); |
- ChromePasswordManagerClient::CreateForWebContents(web_contents); |
PopupBlockerTabHelper::CreateForWebContents(web_contents); |
PrefsTabHelper::CreateForWebContents(web_contents); |
prerender::PrerenderTabHelper::CreateForWebContentsWithPasswordManager( |