diff options
Diffstat (limited to 'chrome/browser/views/go_button.cc')
-rw-r--r-- | chrome/browser/views/go_button.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/go_button.cc b/chrome/browser/views/go_button.cc index f674c72..80d993b 100644 --- a/chrome/browser/views/go_button.cc +++ b/chrome/browser/views/go_button.cc @@ -105,8 +105,7 @@ bool GoButton::GetTooltipText(const gfx::Point& p, std::wstring* tooltip) { // Note that we mark the URL's text as LTR (instead of examining the // characters and guessing the text directionality) since URLs are always // treated as left-to-right text, even when they contain RTL characters. - if (base::i18n::IsRTL()) - base::i18n::WrapStringWithLTRFormatting(¤t_text); + base::i18n::GetDisplayStringInLTRDirectionality(¤t_text); AutocompleteEditModel* edit_model = location_bar_->location_entry()->model(); if (edit_model->CurrentTextIsURL()) { |