Index: components/autofill/renderer/autofill_agent.cc |
diff --git a/components/autofill/renderer/autofill_agent.cc b/components/autofill/renderer/autofill_agent.cc |
index c58b3a038a57a3cbe9d00f267339033165ab84f6..2cb789cc4481b63d7a7405e35aefbc49a48ba1c7 100644 |
--- a/components/autofill/renderer/autofill_agent.cc |
+++ b/components/autofill/renderer/autofill_agent.cc |
@@ -367,8 +367,9 @@ void AutofillAgent::setIgnoreTextChanges(bool ignore) { |
void AutofillAgent::InputElementClicked(const WebInputElement& element, |
bool was_focused, |
- bool is_focused) { |
- if (was_focused) |
+ bool is_focused, |
+ InputEventSource input_event_source) { |
+ if (was_focused || input_event_source == TAP_GESTURE) |
ShowSuggestions(element, true, false, true); |
} |