Index: Source/core/rendering/svg/SVGResources.cpp |
diff --git a/Source/core/rendering/svg/SVGResources.cpp b/Source/core/rendering/svg/SVGResources.cpp |
index 6acd132d9ebce742960c1b75496320b84ecbc6a9..3fd84a8231a88969567f624fb865819b7d2dd1a6 100644 |
--- a/Source/core/rendering/svg/SVGResources.cpp |
+++ b/Source/core/rendering/svg/SVGResources.cpp |
@@ -176,8 +176,7 @@ static inline RenderSVGResourceContainer* paintingResourceFromSVGPaint(Document* |
static inline void registerPendingResource(SVGDocumentExtensions* extensions, const AtomicString& id, SVGElement* element) |
{ |
ASSERT(element); |
- ASSERT_WITH_SECURITY_IMPLICATION(element->isSVGStyledElement()); |
- extensions->addPendingResource(id, toSVGStyledElement(element)); |
+ extensions->addPendingResource(id, element); |
} |
bool SVGResources::buildResources(const RenderObject* object, const SVGRenderStyle* style) |