diff options
Diffstat (limited to 'WebCore/rendering/style/SVGRenderStyle.cpp')
-rw-r--r-- | WebCore/rendering/style/SVGRenderStyle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/rendering/style/SVGRenderStyle.cpp b/WebCore/rendering/style/SVGRenderStyle.cpp index 0df26f4..dc8a5af 100644 --- a/WebCore/rendering/style/SVGRenderStyle.cpp +++ b/WebCore/rendering/style/SVGRenderStyle.cpp @@ -178,6 +178,10 @@ StyleDifference SVGRenderStyle::diff(const SVGRenderStyle* other) const // NOTE: All comparisions below may only return StyleDifferenceRepaint + // Shadow changes need to cause repaints. + if (shadowSVG != other->shadowSVG) + return StyleDifferenceRepaint; + // Painting related properties only need repaints. if (miscNotEqual) { if (misc->floodColor != other->misc->floodColor |