| Index: chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
|
| index ad18befaa0bd848896a8ff4978065f2f48270a8d..ecab3281117a489fab294010e1b7111648be0988 100644
|
| --- a/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include <gdk/gdkkeysyms.h>
|
|
|
| -#include "base/i18n/rtl.h"
|
| #include "base/logging.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/ui/autofill/autofill_popup_controller.h"
|
| @@ -237,7 +236,7 @@ void AutofillPopupViewGtk::DrawAutofillEntry(cairo_t* cairo_context,
|
| entry_rect.y() +
|
| (row_height - controller_->GetNameFontForRow(index).GetHeight()) / 2);
|
|
|
| - bool is_rtl = base::i18n::IsRTL();
|
| + bool is_rtl = controller_->is_rtl();
|
| int value_content_x = is_rtl ?
|
| entry_rect.width() - value_text_width - kEndPadding : kEndPadding;
|
|
|
|
|