Index: Source/core/rendering/svg/RenderSVGResourceContainer.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceContainer.cpp b/Source/core/rendering/svg/RenderSVGResourceContainer.cpp |
index eb17d7afd540d2368709e501b77f3b84e496131e..c1ea5fbedfe28b3f32bbf7fd330ae7d9c150fa63 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceContainer.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceContainer.cpp |
@@ -33,8 +33,7 @@ namespace WebCore { |
static inline SVGDocumentExtensions* svgExtensionsFromNode(Node* node) |
{ |
ASSERT(node); |
- ASSERT(node->document()); |
- return node->document()->accessSVGExtensions(); |
+ return node->document().accessSVGExtensions(); |
} |
RenderSVGResourceContainer::RenderSVGResourceContainer(SVGElement* node) |