| Index: ui/gfx/canvas_skia.cc
|
| diff --git a/ui/gfx/canvas_skia.cc b/ui/gfx/canvas_skia.cc
|
| index 5bb21c4b486dfa31b01816f5ada18c9bde7ba92b..73f5992406cbed173b8676ea7863fbd7c616a1d6 100644
|
| --- a/ui/gfx/canvas_skia.cc
|
| +++ b/ui/gfx/canvas_skia.cc
|
| @@ -292,7 +292,7 @@ void Canvas::DrawStringRectWithShadows(const base::string16& text,
|
| // for LTR text. RTL text is still elided (on the left) with "...".
|
| if (elide_text) {
|
| render_text->SetText(adjusted_text);
|
| - if (render_text->GetTextDirection() == base::i18n::LEFT_TO_RIGHT) {
|
| + if (render_text->GetDisplayTextDirection() == base::i18n::LEFT_TO_RIGHT) {
|
| render_text->SetElideBehavior(FADE_TAIL);
|
| elide_text = false;
|
| }
|
|
|