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 013d5cfc0a8307afcaaa267ee585367900894c4d..e584dd65416abfd7840a05aad6c1aa0409666e06 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -68,8 +68,11 @@ void LayoutSVGBlock::willBeDestroyed() |
void LayoutSVGBlock::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle) |
{ |
- if (diff.needsFullLayout()) |
+ if (diff.needsFullLayout()) { |
setNeedsBoundariesUpdate(); |
+ if (style()->hasTransform()) |
+ setNeedsTransformUpdate(); |
+ } |
if (isBlendingAllowed()) { |
bool hasBlendModeChanged = (oldStyle && oldStyle->hasBlendMode()) == !style()->hasBlendMode(); |