Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1200)

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed CreateCreditCardFillingInfoBar from interface Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a287c5b45270323e479fe6957215b14d7df04a02..5e31f9d392c6b4ddf4c30fe6dfa1fbb3e6f5dc85 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -466,7 +466,7 @@ void AutofillAgent::FirstUserGestureObservedInTab() {
}
void AutofillAgent::FillForm(int32_t id, const FormData& form) {
- if (id != autofill_query_id_)
+ if (id != autofill_query_id_ && id != kNoQueryId)
return;
was_query_node_autofilled_ = element_.isAutofilled();

Powered by Google App Engine
This is Rietveld 408576698