Index: components/autofill/renderer/autofill_agent.cc |
diff --git a/components/autofill/renderer/autofill_agent.cc b/components/autofill/renderer/autofill_agent.cc |
index 462b1b6b8026122286cfe14177790005cc4ba037..f32896b2e8693463d7216224ca6acb9a779ae97e 100644 |
--- a/components/autofill/renderer/autofill_agent.cc |
+++ b/components/autofill/renderer/autofill_agent.cc |
@@ -802,6 +802,8 @@ void AutofillAgent::ShowSuggestions(const WebInputElement& element, |
} |
element_ = element; |
+ if (password_autofill_agent_->ShowSuggestions(element)) |
+ return; |
// If autocomplete is disabled at the form level, then we might want to show a |
// warning in place of suggestions. However, if autocomplete is disabled |