Index: Source/core/rendering/RenderFullScreen.cpp |
diff --git a/Source/core/rendering/RenderFullScreen.cpp b/Source/core/rendering/RenderFullScreen.cpp |
index 18faff06517602a85b61a131af982ec4d5df2cfb..f6c5702525185d8820f5dd7dee771d304b164dbb 100644 |
--- a/Source/core/rendering/RenderFullScreen.cpp |
+++ b/Source/core/rendering/RenderFullScreen.cpp |
@@ -172,7 +172,7 @@ void RenderFullScreen::unwrapRenderer() |
// may have set one on the child, and we don't want to leave that |
// lying around on the child. |
if (child->isBox()) |
- toRenderBox(child)->clearOverrideSize(); |
+ toLayoutBox(child)->clearOverrideSize(); |
child->remove(); |
parent()->addChild(child, this); |
parent()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(); |