Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
index 27bd7ceb98e5c3624c497ee7edcdc5c46e09ced9..8d62fde000f73b86554ee87c19c1103e440517f3 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -68,7 +68,7 @@ void LayoutSVGBlock::styleDidChange(StyleDifference diff, const ComputedStyle* o |
{ |
if (diff.needsFullLayout()) { |
setNeedsBoundariesUpdate(); |
- if (style()->hasTransform()) |
+ if (diff.transformChanged()) |
setNeedsTransformUpdate(); |
} |