Index: components/autofill/common/form_field_data.cc |
diff --git a/components/autofill/common/form_field_data.cc b/components/autofill/common/form_field_data.cc |
index 9040137b4e09b3ca1708deba19aaa3dddb66d105..6e01c32b530893c88a674409842018a94d1442bb 100644 |
--- a/components/autofill/common/form_field_data.cc |
+++ b/components/autofill/common/form_field_data.cc |
@@ -15,7 +15,8 @@ FormFieldData::FormFieldData() |
is_checked(false), |
is_checkable(false), |
is_focusable(false), |
- should_autocomplete(true) { |
+ should_autocomplete(true), |
+ text_direction(base::i18n::UNKNOWN_DIRECTION) { |
} |
FormFieldData::~FormFieldData() { |
@@ -64,7 +65,9 @@ std::ostream& operator<<(std::ostream& os, const FormFieldData& field) { |
<< " " |
<< (field.is_focusable ? "true" : "false") |
<< " " |
- << (field.should_autocomplete ? "true" : "false"); |
+ << (field.should_autocomplete ? "true" : "false") |
+ << " " |
+ << field.text_direction; |
} |
} // namespace autofill |