summaryrefslogtreecommitdiffstats
path: root/views/controls/resize_gripper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/resize_gripper.cc')
-rw-r--r--views/controls/resize_gripper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/controls/resize_gripper.cc b/views/controls/resize_gripper.cc
index 1a49957..4d6d93b 100644
--- a/views/controls/resize_gripper.cc
+++ b/views/controls/resize_gripper.cc
@@ -87,7 +87,7 @@ void ResizeGripper::ReportResizeAmount(int resize_amount, bool last_update) {
View::ConvertPointToScreen(this, &point);
resize_amount = point.x() - initial_position_;
- if (UILayoutIsRightToLeft())
+ if (base::i18n::IsRTL())
resize_amount = -1 * resize_amount;
delegate_->OnResize(resize_amount, last_update);
}