Index: Source/core/rendering/svg/RenderSVGGradientStop.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGGradientStop.cpp b/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
index d9ce3bf7015d46bd74b46081222b825d70a6b84f..90fdce760b464ce0a83f6a3de46cabd16c6c5b43 100644 |
--- a/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
+++ b/Source/core/rendering/svg/RenderSVGGradientStop.cpp |
@@ -39,7 +39,7 @@ RenderSVGGradientStop::~RenderSVGGradientStop() |
void RenderSVGGradientStop::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) |
{ |
RenderObject::styleDidChange(diff, oldStyle); |
- if (diff.hasNoChange()) |
+ if (!diff.hasDifference()) |
return; |
// <stop> elements should only be allowed to make renderers under gradient elements |