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 045a682f4f08543615b88cc51a3670117486db75..f1a2c77f78e3e98ebd9dca7fb57a31ea96ed8b58 100644 |
--- a/chrome/browser/autofill/autofill_external_delegate.cc |
+++ b/chrome/browser/autofill/autofill_external_delegate.cc |
@@ -111,9 +111,8 @@ void AutofillExternalDelegate::OnSuggestionsReturned( |
popup_visible_ = true; |
ApplyAutofillSuggestions(values, labels, icons, ids); |
- AutofillManager::FromWebContents(web_contents_)-> |
- OnDidShowAutofillSuggestions( |
- has_autofill_item && !has_shown_autofill_popup_for_current_edit_); |
+ autofill_manager_->OnDidShowAutofillSuggestions( |
+ has_autofill_item && !has_shown_autofill_popup_for_current_edit_); |
has_shown_autofill_popup_for_current_edit_ |= has_autofill_item; |
} |
} |