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

Unified Diff: components/autofill/core/common/password_form_fill_data.cc

Issue 662353002: Add form name to password form fill data struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/password_form_fill_data.cc
diff --git a/components/autofill/core/common/password_form_fill_data.cc b/components/autofill/core/common/password_form_fill_data.cc
index 359a795c78876d7e6ab6665ec9151a37e6ec7460..ffc3db715c83893b416b88ac35599fccdd289f37 100644
--- a/components/autofill/core/common/password_form_fill_data.cc
+++ b/components/autofill/core/common/password_form_fill_data.cc
@@ -47,6 +47,7 @@ void InitPasswordFormFillData(
password_field.form_control_type = "password";
// Fill basic form data.
+ result->basic_data.name = form_on_page.form_data.name;
result->basic_data.origin = form_on_page.origin;
result->basic_data.action = form_on_page.action;
result->basic_data.fields.push_back(username_field);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698