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

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

Issue 1615003002: Fix behavior of HTMLInputElement.maxLength/minLength getter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix interactive tests Created 4 years, 10 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/common/form_field_data_unittest.cc
diff --git a/components/autofill/core/common/form_field_data_unittest.cc b/components/autofill/core/common/form_field_data_unittest.cc
index dc17277e341a82d55d8394281a22bf22832dbf08..6c899abe0207ce2c96de30e3451a29fb0c939e7b 100644
--- a/components/autofill/core/common/form_field_data_unittest.cc
+++ b/components/autofill/core/common/form_field_data_unittest.cc
@@ -38,7 +38,7 @@ void WriteCommonSection1(const FormFieldData& data, base::Pickle* pickle) {
pickle->WriteString16(data.value);
pickle->WriteString(data.form_control_type);
pickle->WriteString(data.autocomplete_attribute);
- pickle->WriteSizeT(data.max_length);
+ pickle->WriteInt(data.max_length);
pickle->WriteBool(data.is_autofilled);
pickle->WriteBool(data.is_checked);
pickle->WriteBool(data.is_checkable);

Powered by Google App Engine
This is Rietveld 408576698