Index: chrome/browser/autofill/autofill_external_delegate.cc |
diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc |
index e762da7ce11bdad66794c175efbd863ad76d13df..109523c9c33a7f80dd1a91917650a532dc209daf 100644 |
--- a/chrome/browser/autofill/autofill_external_delegate.cc |
+++ b/chrome/browser/autofill/autofill_external_delegate.cc |
@@ -110,8 +110,9 @@ void AutofillExternalDelegate::OnSuggestionsReturned( |
popup_visible_ = true; |
ApplyAutofillSuggestions(values, labels, icons, ids); |
- tab_contents_->autofill_manager()->OnDidShowAutofillSuggestions( |
- has_autofill_item && !has_shown_autofill_popup_for_current_edit_); |
+ AutofillManager::FromWebContents(tab_contents_->web_contents())-> |
+ OnDidShowAutofillSuggestions( |
+ has_autofill_item && !has_shown_autofill_popup_for_current_edit_); |
has_shown_autofill_popup_for_current_edit_ |= has_autofill_item; |
} |
} |