Index: Source/core/rendering/RenderLayerFilterInfo.cpp |
diff --git a/Source/core/rendering/RenderLayerFilterInfo.cpp b/Source/core/rendering/RenderLayerFilterInfo.cpp |
index bfb25ee6988c74059a36d60312eca5e852590aae..473e9eb6ce2d18c66af1e9617572ba4cdd7a0d1b 100644 |
--- a/Source/core/rendering/RenderLayerFilterInfo.cpp |
+++ b/Source/core/rendering/RenderLayerFilterInfo.cpp |
@@ -127,7 +127,7 @@ void RenderLayerFilterInfo::updateReferenceFilterClients(const FilterOperations& |
// Reference is internal; add layer as a client so we can trigger |
// filter repaint on SVG attribute change. |
Element* filter = m_layer->renderer()->node()->document().getElementById(referenceFilterOperation->fragment()); |
- if (!filter || !filter->hasTagName(SVGNames::filterTag)) |
+ if (!isSVGFilterElement(filter)) |
continue; |
if (filter->renderer()) |
toRenderSVGResourceContainer(filter->renderer())->addClientRenderLayer(m_layer); |