Index: third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
index 69d3d37fa553353dd7bba42a025b8140bb4ded52..b49afb9c855d6297c415b72ded0f84b8dbc748f9 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_node.h |
@@ -207,8 +207,8 @@ inline void NGInlineNode::AssertEndOffset(unsigned index, |
DEFINE_TYPE_CASTS(NGInlineNode, |
NGLayoutInputNode, |
node, |
- node->Type() == NGLayoutInputNode::kLegacyInline, |
- node.Type() == NGLayoutInputNode::kLegacyInline); |
+ node->IsInline(), |
+ node.IsInline()); |
// A vector-like object that points to a subset of an array of |
// |NGLayoutInlineItem|. |