Chromium Code Reviews| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
| index 5029cb3e4a79b180a096c396f9dd994eb1f45e38..62e9b20fd0bc5f7d0786c7f9b8df2baf74af1684 100644 |
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc |
| @@ -10,6 +10,7 @@ |
| #include "base/base64.h" |
| #include "base/bind.h" |
| +#include "base/i18n/rtl.h" |
| #include "base/logging.h" |
| #include "base/prefs/pref_service.h" |
| #include "base/string_util.h" |
| @@ -1369,7 +1370,9 @@ void AutofillDialogControllerImpl::UserEditedOrActivatedInput( |
| popup_controller_, |
| weak_ptr_factory_.GetWeakPtr(), |
| parent_view, |
| - content_bounds); |
| + content_bounds, |
| + base::i18n::IsRTL() ? |
| + base::i18n::RIGHT_TO_LEFT : base::i18n::LEFT_TO_RIGHT); |
|
Ilya Sherman
2013/06/06 21:20:47
nit: Indent this line two more spaces.
csharp
2013/06/07 15:22:06
Done.
|
| popup_controller_->Show(popup_values, |
| popup_labels, |
| popup_icons, |