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

Unified Diff: chrome/browser/autofill/personal_data_manager.cc

Issue 6633001: Convert autofill messages to use the new IPC macros (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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: chrome/browser/autofill/personal_data_manager.cc
===================================================================
--- chrome/browser/autofill/personal_data_manager.cc (revision 77285)
+++ chrome/browser/autofill/personal_data_manager.cc (working copy)
@@ -182,7 +182,7 @@
const FormStructure* form = *iter;
for (size_t i = 0; i < form->field_count(); ++i) {
const AutofillField* field = form->field(i);
- string16 value = CollapseWhitespace(field->value(), false);
+ string16 value = CollapseWhitespace(field->value, false);
// If we don't know the type of the field, or the user hasn't entered any
// information into the field, then skip it.
@@ -196,7 +196,7 @@
// If the user has a password set, we have no way of setting credit
// card numbers.
if (!HasPassword()) {
- if (LowerCaseEqualsASCII(field->form_control_type(), "month")) {
+ if (LowerCaseEqualsASCII(field->form_control_type, "month")) {
DCHECK_EQ(CREDIT_CARD_EXP_MONTH, field_type.field_type());
local_imported_credit_card->SetInfoForMonthInputType(value);
} else {
« no previous file with comments | « chrome/browser/autofill/form_structure.cc ('k') | chrome/browser/autofill/personal_data_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698