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 3024a8263bc181eaa8baa3a7382e280c715f3c49..6673130780c2159fdaa1159943777529853ed935 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() == EUnicodeBidi::kPlaintext) { |
+ if (rightAligned && style()->getUnicodeBidi() == UnicodeBidi::kPlaintext) { |
if (inlineBox->bidiLevel() % 2 != 1) |
rightAligned = false; |
} |
@@ -1095,7 +1095,7 @@ void LayoutText::computePreferredLogicalWidths( |
BidiCharacterRun* run; |
TextDirection textDirection = styleToUse.direction(); |
if ((is8Bit() && textDirection == TextDirection::kLtr) || |
- isOverride(styleToUse.unicodeBidi())) { |
+ isOverride(styleToUse.getUnicodeBidi())) { |
run = 0; |
} else { |
TextRun textRun(text()); |