diff options
Diffstat (limited to 'views/controls/button/native_button.cc')
-rw-r--r-- | views/controls/button/native_button.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/button/native_button.cc b/views/controls/button/native_button.cc index 141cf328..5bdc9c73 100644 --- a/views/controls/button/native_button.cc +++ b/views/controls/button/native_button.cc @@ -10,6 +10,7 @@ #endif #include "app/l10n_util.h" +#include "base/i18n/rtl.h" #include "base/keyboard_codes.h" #include "base/logging.h" #include "views/controls/native/native_view_host.h" @@ -71,7 +72,7 @@ void NativeButton::SetLabel(const std::wstring& label) { // RTL strings explicitly (using the appropriate Unicode formatting) so that // Windows displays the text correctly regardless of the HWND hierarchy. std::wstring localized_label; - if (l10n_util::AdjustStringForLocaleDirection(label_, &localized_label)) + if (base::i18n::AdjustStringForLocaleDirection(label_, &localized_label)) label_ = localized_label; if (native_wrapper_) |