Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
index 1dce4ee1fba5815a9a9173d06b16faaf6c45638c..16ba136671768f3cb9969221c159b6003fd66e52 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc |
@@ -639,7 +639,7 @@ TEST_F(NGBlockLayoutAlgorithmTest, BorderAndPadding) { |
EXPECT_EQ(kBorderTop + kPaddingTop + kHeight + kPaddingBottom + kBorderBottom, |
child->Height()); |
- ASSERT_TRUE(child->Type() == NGPhysicalFragment::kFragmentBox); |
+ ASSERT_TRUE(child->IsBox()); |
ASSERT_EQ(static_cast<const NGPhysicalBoxFragment*>(child)->Children().size(), |
1UL); |