Index: third_party/WebKit/Source/core/layout/LayoutText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp |
index 88a17f89c1243747ed87292b32c4fec4af2723e4..3024a8263bc181eaa8baa3a7382e280c715f3c49 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp |
@@ -794,7 +794,7 @@ LayoutRect LayoutText::localCaretRect(InlineBox* inlineBox, |
// for unicode-bidi: plaintext, use inlineBoxBidiLevel() to test the correct |
// direction for the cursor. |
- if (rightAligned && style()->unicodeBidi() == Plaintext) { |
+ if (rightAligned && style()->unicodeBidi() == EUnicodeBidi::kPlaintext) { |
if (inlineBox->bidiLevel() % 2 != 1) |
rightAligned = false; |
} |