Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp |
index 6d5eef12feb307765a160b61318cb95afc83b519..243a47ac57576abfcae703a830d47875511ff8da 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp |
@@ -103,7 +103,7 @@ void LayoutSVGModelObject::styleDidChange(StyleDifference diff, const ComputedSt |
{ |
if (diff.needsFullLayout()) { |
setNeedsBoundariesUpdate(); |
- if (style()->hasTransform()) |
+ if (diff.transformChanged()) |
setNeedsTransformUpdate(); |
} |