Index: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp |
index 6d01393db84bc2aaec7e7c0963a411d8d7199a74..0ee295408a9de83270e158fd5f60593ac4f59631 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp |
@@ -381,7 +381,8 @@ LayoutUnit InlineTextBox::placeEllipsisBox(bool flowIsLTR, |
LayoutUnit widthOfVisibleText(getLineLayoutItem().width( |
ltr == flowIsLTR ? m_start : m_start + offset, |
ltr == flowIsLTR ? offset : m_len - offset, textPos(), |
- flowIsLTR ? LTR : RTL, isFirstLineStyle())); |
+ flowIsLTR ? TextDirection::Ltr : TextDirection::Rtl, |
+ isFirstLineStyle())); |
// The ellipsis needs to be placed just after the last visible character. |
// Where "after" is defined by the flow directionality, not the inline |