Index: chrome/browser/views/bookmark_bar_view.cc |
diff --git a/chrome/browser/views/bookmark_bar_view.cc b/chrome/browser/views/bookmark_bar_view.cc |
index 2ea1c669fe81d40846bddb21f77104928d1278ed..07fb7d66d11510ba04709c716837e27dab2d469c 100644 |
--- a/chrome/browser/views/bookmark_bar_view.cc |
+++ b/chrome/browser/views/bookmark_bar_view.cc |
@@ -157,7 +157,8 @@ static std::wstring CreateToolTipForURLAndTitle(const gfx::Point& screen_loc, |
// the Unicode BiDi algorithm puts certain characters on the left by |
// default. |
std::wstring elided_url(gfx::ElideUrl(url, tt_font, max_width, languages)); |
- base::i18n::GetDisplayStringInLTRDirectionality(&elided_url); |
+ elided_url = UTF16ToWide(base::i18n::GetDisplayStringInLTRDirectionality( |
+ WideToUTF16(elided_url))); |
result.append(elided_url); |
} |
return result; |