Index: chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
index bdc8e32d7ee95c37641d4cdb30c55741f1505b93..61f8b5366ab02a82a508ca40d1e9d15d6729e866 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_popup_view_views.cc |
@@ -174,7 +174,7 @@ void AutofillPopupViewViews::DrawAutofillEntry(gfx::Canvas* canvas, |
if (controller_->selected_line() == index) |
canvas->FillRect(entry_rect, kHoveredBackgroundColor); |
- bool is_rtl = base::i18n::IsRTL(); |
+ bool is_rtl = controller_->IsRTL(); |
int value_text_width = controller_->GetNameFontForRow(index).GetStringWidth( |
controller_->names()[index]); |
int value_content_x = is_rtl ? |