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 b6ea38a3d6f17f1e8c11b966d37f5895c73da5f3..33327dabfa495e080e48760b7e13f81c92f1a27c 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 |