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 dc1c754388f5cb4a0252315d97d34042bd75007b..ceb680cf28d3a55f6350609b319d5999a5e2ec9b 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 |
@@ -197,7 +197,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) { |