Index: components/autofill/renderer/autofill_agent.cc |
diff --git a/components/autofill/renderer/autofill_agent.cc b/components/autofill/renderer/autofill_agent.cc |
index e8cc97a286932bb9b27934fd56fc9e2ca55fe963..8b77317aca937da63bf4076ff17ffd89ce0fc53d 100644 |
--- a/components/autofill/renderer/autofill_agent.cc |
+++ b/components/autofill/renderer/autofill_agent.cc |
@@ -360,8 +360,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); |
} |