Index: Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
diff --git a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
index b2a9feb84f38ace7759b2e534922d9664c182650..e9c656c19acbdd4f3552af1bc61f6bb07020ef08 100644 |
--- a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
+++ b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
@@ -89,8 +89,7 @@ PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, Ren |
if (!renderer) |
return 0; |
- Document* document = renderer->document(); |
- ASSERT(document); |
+ Document* document = &renderer->document(); |
DocumentResourceReference* documentResourceReference = filterOperation->documentResourceReference(); |
DocumentResource* cachedSVGDocument = documentResourceReference ? documentResourceReference->document() : 0; |