Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index 8f71f2890469362f1facc3b4eedf54c7f51431f5..ebac6d19372074dda82e060a58b5c4647c5757ff 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -6663,8 +6663,8 @@ TEST_P(ParameterizedWebFrameTest, LayoutBlockPercentHeightDescendants) |
LayoutBox* percentHeightInAnonymous = toLayoutBox(document->getElementById("percent-height-in-anonymous")->layoutObject()); |
LayoutBox* percentHeightDirectChild = toLayoutBox(document->getElementById("percent-height-direct-child")->layoutObject()); |
- EXPECT_TRUE(LayoutBlock::hasPercentHeightDescendant(percentHeightInAnonymous)); |
- EXPECT_TRUE(LayoutBlock::hasPercentHeightDescendant(percentHeightDirectChild)); |
+ EXPECT_TRUE(container->hasPercentHeightDescendant(percentHeightInAnonymous)); |
+ EXPECT_TRUE(container->hasPercentHeightDescendant(percentHeightDirectChild)); |
ASSERT_TRUE(container->percentHeightDescendants()); |
ASSERT_TRUE(container->hasPercentHeightDescendants()); |