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