Index: components/autofill/content/common/autofill_param_traits_macros.h |
diff --git a/components/autofill/content/common/autofill_param_traits_macros.h b/components/autofill/content/common/autofill_param_traits_macros.h |
index 1bced6ec0ab6dcba734bd0fbddb0561dba3df053..edd3fcb8c05df195ea786eedbad49eb9ea28b06c 100644 |
--- a/components/autofill/content/common/autofill_param_traits_macros.h |
+++ b/components/autofill/content/common/autofill_param_traits_macros.h |
@@ -21,7 +21,7 @@ IPC_ENUM_TRAITS_MAX_VALUE(autofill::FormFieldData::RoleAttribute, |
autofill::FormFieldData::ROLE_ATTRIBUTE_OTHER) |
IPC_ENUM_TRAITS_MAX_VALUE(base::i18n::TextDirection, |
- base::i18n::TEXT_DIRECTION_NUM_DIRECTIONS - 1) |
+ base::i18n::TEXT_DIRECTION_MAX) |
IPC_STRUCT_TRAITS_BEGIN(autofill::FormFieldData) |
IPC_STRUCT_TRAITS_MEMBER(label) |