Index: Source/core/rendering/svg/RenderSVGRoot.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGRoot.cpp b/Source/core/rendering/svg/RenderSVGRoot.cpp |
index 60c274ab0cd066750cc85923ef35aa1f2c39eb1e..2ccbaa22a5c87460db8a39f40603692e71484a48 100644 |
--- a/Source/core/rendering/svg/RenderSVGRoot.cpp |
+++ b/Source/core/rendering/svg/RenderSVGRoot.cpp |
@@ -282,10 +282,9 @@ void RenderSVGRoot::willBeDestroyed() |
void RenderSVGRoot::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) |
{ |
- if (diff.needsFullLayout()) |
+ if (diff == StyleDifferenceLayout) |
setNeedsBoundariesUpdate(); |
- // FIXME: How about other diff flags? |
- if (diff.needsRepaintObjectOnly()) { |
+ if (diff == StyleDifferenceRepaint) { |
// Box decorations may have appeared/disappeared - recompute status. |
m_hasBoxDecorations = calculateHasBoxDecorations(); |
} |