Index: Source/core/rendering/svg/RenderSVGBlock.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGBlock.cpp b/Source/core/rendering/svg/RenderSVGBlock.cpp |
index f66247fec504ec3f26ac79473c0c0f7fc95bbb83..27119a225f6860748fc9336c7e59a09b49becf9b 100644 |
--- a/Source/core/rendering/svg/RenderSVGBlock.cpp |
+++ b/Source/core/rendering/svg/RenderSVGBlock.cpp |
@@ -78,7 +78,7 @@ void RenderSVGBlock::willBeDestroyed() |
void RenderSVGBlock::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle) |
{ |
- if (diff == StyleDifferenceLayout) |
+ if (diff.needsFullLayout()) |
setNeedsBoundariesUpdate(); |
RenderBlock::styleDidChange(diff, oldStyle); |