Index: components/autofill/content/renderer/autofill_agent.cc |
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc |
index 02bfd51ab328169b849314e565b89fe6a74c14b6..36f688f348f8fd88c9c816083531da332bb71da7 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -449,6 +449,13 @@ void AutofillAgent::openTextDataListChooser(const WebInputElement& element) { |
ShowSuggestions(element, options); |
} |
+void AutofillAgent::dataListOptionsChanged(const WebInputElement& element) { |
+ if (!is_popup_possibly_visible_ || !element.focused()) |
+ return; |
+ |
+ TextFieldDidChangeImpl(element); |
+} |
+ |
void AutofillAgent::firstUserGestureObserved() { |
password_autofill_agent_->FirstUserGestureObserved(); |
Send(new AutofillHostMsg_FirstUserGestureObserved(routing_id())); |