| Index: chrome/browser/renderer_host/render_view_host.cc
|
| diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
|
| index b5bb1cb104524c5e6cb3dd20c127d24b9e4a74bf..6789cfa1b2ac4643d50cbd32aeb3f238bb7d9a97 100644
|
| --- a/chrome/browser/renderer_host/render_view_host.cc
|
| +++ b/chrome/browser/renderer_host/render_view_host.cc
|
| @@ -1332,7 +1332,9 @@ void RenderViewHost::OnMsgSetTooltipText(
|
| if (!tooltip_text.empty()) {
|
| if (text_direction_hint == WebKit::WebTextDirectionLeftToRight) {
|
| // Force the tooltip to have LTR directionality.
|
| - base::i18n::GetDisplayStringInLTRDirectionality(&wrapped_tooltip_text);
|
| + wrapped_tooltip_text = UTF16ToWide(
|
| + base::i18n::GetDisplayStringInLTRDirectionality(
|
| + WideToUTF16(wrapped_tooltip_text)));
|
| } else if (text_direction_hint == WebKit::WebTextDirectionRightToLeft &&
|
| !base::i18n::IsRTL()) {
|
| // Force the tooltip to have RTL directionality.
|
|
|