diff options
Diffstat (limited to 'views/controls/native_control.cc')
-rw-r--r-- | views/controls/native_control.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/native_control.cc b/views/controls/native_control.cc index 347406f..f714382 100644 --- a/views/controls/native_control.cc +++ b/views/controls/native_control.cc @@ -330,7 +330,7 @@ DWORD NativeControl::GetAdditionalExStyle() const { // extended window style for a right-to-left layout so the subclass creates // a mirrored HWND for the underlying control. DWORD ex_style = 0; - if (UILayoutIsRightToLeft()) + if (base::i18n::IsRTL()) ex_style |= l10n_util::GetExtendedStyles(); return ex_style; @@ -341,7 +341,7 @@ DWORD NativeControl::GetAdditionalRTLStyle() const { // extended window style for a right-to-left layout so the subclass creates // a mirrored HWND for the underlying control. DWORD ex_style = 0; - if (UILayoutIsRightToLeft()) + if (base::i18n::IsRTL()) ex_style |= l10n_util::GetExtendedTooltipStyles(); return ex_style; |