Index: third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc |
index 44ef5418bc208cc98da0e696e18ce511030ebf00..4f81ef3a245e65b5d4c048487ccc9b8613340f0d 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_bidi_paragraph.cc |
@@ -23,8 +23,8 @@ bool NGBidiParagraph::SetParagraph(const String& text, |
ubidi_, text.characters16(), text.length(), |
block_style->unicodeBidi() == Plaintext |
? UBIDI_DEFAULT_LTR |
- : (block_style->direction() == TextDirection::Rtl ? UBIDI_RTL |
- : UBIDI_LTR), |
+ : (block_style->direction() == TextDirection::kRtl ? UBIDI_RTL |
+ : UBIDI_LTR), |
nullptr, &error); |
if (U_FAILURE(error)) { |
NOTREACHED(); |