Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1798)

Unified Diff: Source/core/rendering/svg/RenderSVGGradientStop.cpp

Issue 360103008: Remove dead StyleDifference::needsRecompositeLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « Source/core/rendering/style/StyleDifference.h ('k') | Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698