Index: Source/core/rendering/FilterEffectRenderer.cpp |
diff --git a/Source/core/rendering/FilterEffectRenderer.cpp b/Source/core/rendering/FilterEffectRenderer.cpp |
index f5787226fabaca082d9be5ef25ffdfa95dab6dc3..b389aa4e2ac6ce90b8abb5572325e9159c8e63a1 100644 |
--- a/Source/core/rendering/FilterEffectRenderer.cpp |
+++ b/Source/core/rendering/FilterEffectRenderer.cpp |
@@ -270,7 +270,7 @@ bool FilterEffectRenderer::build(RenderObject* renderer, const FilterOperations& |
break; |
case FilterOperation::VALIDATED_CUSTOM: { |
ValidatedCustomFilterOperation* customFilterOperation = static_cast<ValidatedCustomFilterOperation*>(filterOperation); |
- Document* document = renderer ? renderer->document() : 0; |
+ Document* document = renderer ? &renderer->document() : 0; |
effect = createCustomFilterEffect(this, document, customFilterOperation); |
if (effect) |
m_hasCustomShaderFilter = true; |