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

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

Issue 1619363002: Add compile time checks against longs being used in IPC structs on 32 bit Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more per Dmitry 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/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..3297f738ca09fda5862871c7c21045ce34756191 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->WriteUInt32(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