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 bf1f54a3a13beb0f25d6dcec881e19512ad53dcb..b994e4d4efbdc306de76a6a47f92a40686c33697 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -388,7 +388,7 @@ |
if (ignore_text_changes_) |
return; |
- if (!IsUserGesture()) |
+ if (!WebUserGestureIndicator::isProcessingUserGesture()) |
return; |
// We post a task for doing the Autofill as the caret position is not set |
@@ -750,10 +750,6 @@ |
return; |
is_popup_possibly_visible_ = false; |
Send(new AutofillHostMsg_HidePopup(routing_id())); |
-} |
- |
-bool AutofillAgent::IsUserGesture() const { |
- return WebUserGestureIndicator::isProcessingUserGesture(); |
} |
void AutofillAgent::didAssociateFormControls(const WebVector<WebNode>& nodes) { |