Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
index b2885eadf0fca1986d525169bbdcfa3debcf9a4d..cb8734ddaef90960a9536d38fb25dde3a9468805 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc |
@@ -89,7 +89,8 @@ NGFragmentBuilder& NGFragmentBuilder::AddChild( |
case NGPhysicalBoxFragment::kFragmentLineBox: |
// NGInlineNode produces multiple line boxes in an anonymous box. Only |
// the last break token is needed to be reported to the parent. |
- DCHECK(child->BreakToken() && child->BreakToken()->InputNode() == node_); |
+ DCHECK(child->BreakToken()); |
+ DCHECK_EQ(child->BreakToken()->InputNode(), node_); |
last_inline_break_token_ = |
child->BreakToken()->IsFinished() ? nullptr : child->BreakToken(); |
break; |