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

Unified Diff: chrome/browser/autofill/form_field.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
« no previous file with comments | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/form_field_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_field.cc
===================================================================
--- chrome/browser/autofill/form_field.cc (revision 77285)
+++ chrome/browser/autofill/form_field.cc (working copy)
@@ -124,7 +124,7 @@
WebKit::WebRegularExpression re(WebKit::WebString(pattern),
WebKit::WebTextCaseInsensitive);
bool match = re.match(
- WebKit::WebString(StringToLowerASCII(field->name()))) != -1;
+ WebKit::WebString(StringToLowerASCII(field->name))) != -1;
return match;
}
@@ -135,7 +135,7 @@
WebKit::WebRegularExpression re(WebKit::WebString(pattern),
WebKit::WebTextCaseInsensitive);
bool match = re.match(
- WebKit::WebString(StringToLowerASCII(field->label()))) != -1;
+ WebKit::WebString(StringToLowerASCII(field->label))) != -1;
return match;
}
@@ -350,7 +350,7 @@
const string16 ecom(ASCIIToUTF16("ecom"));
for (size_t index = 0; index < num_fields; ++index) {
- const string16& utf16_name = fields->field(index)->name();
+ const string16& utf16_name = fields->field(index)->name;
if (StartsWith(utf16_name, ecom, true)) {
std::string name(UTF16ToASCII(utf16_name));
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(form_fields); ++i) {
« no previous file with comments | « chrome/browser/autofill/credit_card_field.cc ('k') | chrome/browser/autofill/form_field_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698