Index: Source/web/tests/WebFrameTest.cpp |
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
index 62656c680cdb7888b7ffb9563d9f195b3b6af0f4..f9c9987cf3cafd04bd74b480c35b0102b0dd6409 100644 |
--- a/Source/web/tests/WebFrameTest.cpp |
+++ b/Source/web/tests/WebFrameTest.cpp |
@@ -6558,8 +6558,8 @@ TEST_F(WebFrameTest, RenderBlockPercentHeightDescendants) |
Document* document = toWebLocalFrameImpl(webView->mainFrame())->frame()->document(); |
RenderBlock* container = toRenderBlock(document->getElementById("container")->renderer()); |
- RenderBox* percentHeightInAnonymous = toRenderBox(document->getElementById("percent-height-in-anonymous")->renderer()); |
- RenderBox* percentHeightDirectChild = toRenderBox(document->getElementById("percent-height-direct-child")->renderer()); |
+ LayoutBox* percentHeightInAnonymous = toLayoutBox(document->getElementById("percent-height-in-anonymous")->renderer()); |
+ LayoutBox* percentHeightDirectChild = toLayoutBox(document->getElementById("percent-height-direct-child")->renderer()); |
EXPECT_TRUE(RenderBlock::hasPercentHeightDescendant(percentHeightInAnonymous)); |
EXPECT_TRUE(RenderBlock::hasPercentHeightDescendant(percentHeightDirectChild)); |