Index: Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
index 4e5504a8594b6418bff5f5e183fca0e2c79cfb50..b1053769dd522716737101a26dbe99e1cbf01278 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
@@ -51,6 +51,11 @@ RenderSVGResourceFilter::~RenderSVGResourceFilter() |
m_filter.clear(); |
} |
+bool RenderSVGResourceFilter::isChildAllowed(RenderObject* child, RenderStyle*) const |
+{ |
+ return child->isSVGResourceFilterPrimitive(); |
+} |
+ |
void RenderSVGResourceFilter::removeAllClientsFromCache(bool markForInvalidation) |
{ |
m_filter.clear(); |