Index: Source/core/rendering/svg/RenderSVGGradientStop.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.cpp b/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
index 3fdb51d5f7fa0ea4e317a39d3cf3af112004365f..2d66b5ddab4e014a12e87e8c337875dd67c1e98e 100644 |
--- a/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
+++ b/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
@@ -42,7 +42,7 @@ RenderSVGGradientStop::~RenderSVGGradientStop() |
void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) |
{ |
RenderObject::styleDidChange(diff, oldStyle); |
- if (diff.hasNoChange()) |
+ if (diff == StyleDifferenceEqual) |
return; |
// <stop> elements should only be allowed to make renderers under gradient elements |