Index: Source/core/rendering/svg/RenderSVGForeignObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
index 6f0507a8634a6c313fe9dc0bda71a940bae0d1ad..2506ee4e1c70477124b584e797606ac003cc7c21 100644 |
--- a/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
@@ -123,7 +123,7 @@ void RenderSVGForeignObject::layout() |
ASSERT(!view()->layoutStateEnabled()); // RenderSVGRoot disables layoutState for the SVG rendering tree. |
LayoutRepainter repainter(*this, SVGRenderSupport::checkForSVGRepaintDuringLayout(this)); |
- SVGForeignObjectElement* foreign = static_cast<SVGForeignObjectElement*>(node()); |
+ SVGForeignObjectElement* foreign = toSVGForeignObjectElement(node()); |
bool updateCachedBoundariesInParents = false; |
if (m_needsTransformUpdate) { |