| Index: chrome/browser/ui/views/bookmark_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmark_bar_view.cc
|
| index 439df1dbeb572a9e90ae247b8739eb10917a1667..6226524a6009adb51389817602f17f3c373469dd 100644
|
| --- a/chrome/browser/ui/views/bookmark_bar_view.cc
|
| +++ b/chrome/browser/ui/views/bookmark_bar_view.cc
|
| @@ -143,9 +143,8 @@ static std::wstring CreateToolTipForURLAndTitle(const gfx::Point& screen_loc,
|
|
|
| // First the title.
|
| if (!title.empty()) {
|
| - std::wstring localized_title;
|
| - if (!base::i18n::AdjustStringForLocaleDirection(title, &localized_title))
|
| - localized_title = title;
|
| + std::wstring localized_title = title;
|
| + base::i18n::AdjustStringForLocaleDirection(&localized_title);
|
| result.append(UTF16ToWideHack(gfx::ElideText(WideToUTF16Hack(
|
| localized_title), tt_font, max_width, false)));
|
| }
|
|
|