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

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

Issue 2612893003: Use correct element for Form Not Secure warning (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/content/renderer/password_autofill_agent.cc
diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc
index 8c943d20d593920a99ee886384680c9332065c87..515fb7be6e9d203cb3c80ab3731fee58f2d0557c 100644
--- a/components/autofill/content/renderer/password_autofill_agent.cc
+++ b/components/autofill/content/renderer/password_autofill_agent.cc
@@ -1266,7 +1266,7 @@ void PasswordAutofillAgent::FillPasswordForm(
base::Unretained(&gatekeeper_)),
logger.get())) {
if (form_data.show_form_not_secure_warning_on_autofill)
- autofill_agent_->ShowNotSecureWarning(username_element);
+ autofill_agent_->ShowNotSecureWarning(element);
}
}
}
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698