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

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

Issue 2650623002: Use explicit WebString conversions in autofill (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
Index: components/autofill/content/renderer/form_classifier.cc
diff --git a/components/autofill/content/renderer/form_classifier.cc b/components/autofill/content/renderer/form_classifier.cc
index 381dc79985be67ffc3de960f1956173b3c09b69f..4a4ea3e35c435609c88af930481bf1a34ba65f95 100644
--- a/components/autofill/content/renderer/form_classifier.cc
+++ b/components/autofill/content/renderer/form_classifier.cc
@@ -257,7 +257,7 @@ bool ClassifyFormAndFindGenerationField(const blink::WebFormElement& form,
else
password_creation_field = passwords[0];
- *generation_field = password_creation_field.nameForAutofill();
+ *generation_field = password_creation_field.nameForAutofill().utf16();
return true;
}
return false;
« no previous file with comments | « components/autofill/content/renderer/form_cache.cc ('k') | components/autofill/content/renderer/password_autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698