diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 23:15:21 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 23:15:21 +0000 |
commit | c2f4bdb7deec2fe9aaa3583ff2066e634001be8f (patch) | |
tree | e1ba425190c39667910ff1c864bdee6afc4bd191 /views/controls/resize_gripper.cc | |
parent | 6e76d8d105739f3b40274dd0247a75ea44e46a89 (diff) | |
download | chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.zip chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.tar.gz chromium_src-c2f4bdb7deec2fe9aaa3583ff2066e634001be8f.tar.bz2 |
Eliminate View::UILayoutIsRightToLeft() to standardize on base::i18n::IsRTL(). Was only needed for EnableUIMirroringForRTLLanguages(), which was only used by Views::Label, which already had this capability via set_rtl_alignment_mode().
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1991002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/resize_gripper.cc')
-rw-r--r-- | views/controls/resize_gripper.cc | 2 |
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); } |