Index: Source/core/rendering/svg/RenderSVGForeignObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
index abfc8d0637c5b066395ef13f212e758add328cc5..3b40cb8c91e9a7866886cc47e8921908c7c5d748 100644 |
--- a/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
+++ b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
@@ -42,7 +42,7 @@ RenderSVGForeignObject::~RenderSVGForeignObject() |
{ |
} |
-bool RenderSVGForeignObject::isChildAllowed(RenderObject* child, const RenderStyle&) const |
+bool RenderSVGForeignObject::isChildAllowed(LayoutObject* child, const RenderStyle& style) const |
{ |
// Disallow arbitary SVG content. Only allow proper <svg xmlns="svgNS"> subdocuments. |
return !child->isSVG() || child->isSVGRoot(); |