Index: Source/core/rendering/RenderIFrame.cpp |
diff --git a/Source/core/rendering/RenderIFrame.cpp b/Source/core/rendering/RenderIFrame.cpp |
index 14405a06cc0b91b9b9e4570d31f0d70cbbe3a60a..655f4aac8b48537c48d623ca2ce4159428670831 100644 |
--- a/Source/core/rendering/RenderIFrame.cpp |
+++ b/Source/core/rendering/RenderIFrame.cpp |
@@ -78,7 +78,7 @@ LayoutUnit RenderIFrame::maxPreferredLogicalWidth() const |
bool RenderIFrame::isSeamless() const |
{ |
- return node() && node()->hasTagName(iframeTag) && static_cast<HTMLIFrameElement*>(node())->shouldDisplaySeamlessly(); |
+ return node() && node()->hasTagName(iframeTag) && toHTMLIFrameElement(node())->shouldDisplaySeamlessly(); |
} |
bool RenderIFrame::requiresLayer() const |