Index: Source/core/rendering/svg/RenderSVGForeignObject.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGForeignObject.cpp b/Source/core/rendering/svg/RenderSVGForeignObject.cpp |
index c77c2752ca558c14849d9497c054ad6a8b96dcb6..08b9f5367e078b7c1551ed06081142490552e925 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, RenderStyle* style) const |
+bool RenderSVGForeignObject::isChildAllowed(RenderObject* child, const RenderStyle* style) const |
{ |
// Disallow arbitary SVG content. Only allow proper <svg xmlns="svgNS"> subdocuments. |
return !child->isSVG() || child->isSVGRoot(); |