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 0dbf55c9d824a9a274c7926f7e30170c133a3824..b19d47356b7b52f3bd9a7d9cd348f2efb899895f 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 |