Index: Source/core/rendering/svg/RenderSVGRoot.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp |
index bd43ac870910e87b79bacf1c168ee2c864e2f466..45a89e3b17dc5e449d50bca984bddb2892981e19 100644 |
--- a/Source/core/rendering/svg/RenderSVGRoot.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRoot.cpp |
@@ -240,7 +240,7 @@ void RenderSVGRoot::styleDidChange(StyleDifference diff, const RenderStyle* oldS |
SVGResourcesCache::clientStyleChanged(this, diff, style()); |
} |
-bool RenderSVGRoot::isChildAllowed(RenderObject* child, RenderStyle*) const |
+bool RenderSVGRoot::isChildAllowed(RenderObject* child, const RenderStyle*) const |
{ |
return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText()); |
} |