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

Unified Diff: components/autofill/core/browser/autofill_field_unittest.cc

Issue 1583563003: [Autofill] Parse forms that have autocomplete attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/core/browser/autofill_field_unittest.cc
diff --git a/components/autofill/core/browser/autofill_field_unittest.cc b/components/autofill/core/browser/autofill_field_unittest.cc
index 9438532822f12cf85096818eaf59bb8c70ae790e..10b1d96ce6a146dbce193be0fdc2343e90afba12 100644
--- a/components/autofill/core/browser/autofill_field_unittest.cc
+++ b/components/autofill/core/browser/autofill_field_unittest.cc
@@ -274,7 +274,7 @@ TEST(AutofillFieldTest, FillPhoneNumber) {
EXPECT_EQ(ASCIIToUTF16("555"), field.value);
// Now reset the type, and set a max-length instead.
- field.SetHtmlType(HTML_TYPE_UNKNOWN, HtmlFieldMode());
+ field.SetHtmlType(HTML_TYPE_UNSPECIFIED, HtmlFieldMode());
field.set_heuristic_type(PHONE_HOME_NUMBER);
field.max_length = 4;

Powered by Google App Engine
This is Rietveld 408576698