Index: Source/core/rendering/svg/SVGResourcesCache.cpp |
diff --git a/Source/core/rendering/svg/SVGResourcesCache.cpp b/Source/core/rendering/svg/SVGResourcesCache.cpp |
index 0c131a0aabb78e49315cc54f71b2d064ea52c9d2..685682d98dc71f5f9e2be93367283ff104a67194 100644 |
--- a/Source/core/rendering/svg/SVGResourcesCache.cpp |
+++ b/Source/core/rendering/svg/SVGResourcesCache.cpp |
@@ -122,11 +122,11 @@ void SVGResourcesCache::clientStyleChanged(RenderObject* renderer, StyleDifferen |
ASSERT(renderer->node()); |
ASSERT(renderer->node()->isSVGElement()); |
- if (diff.hasNoChange() || !renderer->parent()) |
+ if (diff == StyleDifferenceEqual || !renderer->parent()) |
return; |
// In this case the proper SVGFE*Element will decide whether the modified CSS properties require a relayout or repaint. |
- if (renderer->isSVGResourceFilterPrimitive() && diff.needsRepaintObjectOnly()) |
+ if (renderer->isSVGResourceFilterPrimitive() && diff == StyleDifferenceRepaint) |
return; |
// Dynamic changes of CSS properties like 'clip-path' may require us to recompute the associated resources for a renderer. |