Index: third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
index 11a3c50ca2edf1c1a730246074859c942b07dab6..f689dc35530124ef78711efac92a6acc8608be96 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_inline_items_builder.cc |
@@ -198,7 +198,8 @@ void NGLayoutInlineItemsBuilder::RemoveTrailingCollapsibleSpace( |
void NGLayoutInlineItemsBuilder::AppendBidiControl(const ComputedStyle* style, |
UChar ltr, |
UChar rtl) { |
- AppendAsOpaqueToSpaceCollapsing(style->direction() == RTL ? rtl : ltr); |
+ AppendAsOpaqueToSpaceCollapsing( |
+ style->direction() == TextDirection::Rtl ? rtl : ltr); |
} |
void NGLayoutInlineItemsBuilder::EnterBlock(const ComputedStyle* style) { |