Index: components/autofill/browser/autofill_external_delegate.cc |
diff --git a/components/autofill/browser/autofill_external_delegate.cc b/components/autofill/browser/autofill_external_delegate.cc |
index 26e53bf4e55530b734990c6f95719237c412b7b5..d5ac726fb44f465fe6f92de4a748b3f5b2c9f2ff 100644 |
--- a/components/autofill/browser/autofill_external_delegate.cc |
+++ b/components/autofill/browser/autofill_external_delegate.cc |
@@ -133,7 +133,13 @@ void AutofillExternalDelegate::OnSuggestionsReturned( |
// Send to display. |
if (autofill_query_field_.is_focusable) { |
autofill_manager_->delegate()->ShowAutofillPopup( |
- element_bounds_, values, labels, icons, ids, GetWeakPtr()); |
+ element_bounds_, |
+ autofill_query_field_.text_direction, |
+ values, |
+ labels, |
+ icons, |
+ ids, |
+ GetWeakPtr()); |
} |
} |
@@ -153,7 +159,13 @@ void AutofillExternalDelegate::OnShowPasswordSuggestions( |
std::vector<int> password_ids(suggestions.size(), |
WebAutofillClient::MenuItemIDPasswordEntry); |
autofill_manager_->delegate()->ShowAutofillPopup( |
- element_bounds_, suggestions, empty, empty, password_ids, GetWeakPtr()); |
+ element_bounds_, |
+ autofill_query_field_.text_direction, |
+ suggestions, |
+ empty, |
+ empty, |
+ password_ids, |
+ GetWeakPtr()); |
} |
void AutofillExternalDelegate::SetCurrentDataListValues( |