summaryrefslogtreecommitdiffstats
path: root/views/controls/button/button_dropdown.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/button/button_dropdown.cc')
-rw-r--r--views/controls/button/button_dropdown.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/button/button_dropdown.cc b/views/controls/button/button_dropdown.cc
index 2d3f30e..7b2b3d0 100644
--- a/views/controls/button/button_dropdown.cc
+++ b/views/controls/button/button_dropdown.cc
@@ -134,7 +134,7 @@ void ButtonDropDown::ShowDropDownMenu(gfx::NativeView window) {
// is right-to-left.
gfx::Point menu_position(lb.origin());
menu_position.Offset(0, lb.height() - 1);
- if (UILayoutIsRightToLeft())
+ if (base::i18n::IsRTL())
menu_position.Offset(lb.width() - 1, 0);
View::ConvertPointToScreen(this, &menu_position);