Index: Source/core/rendering/svg/RenderSVGTransformableContainer.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp b/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp |
index 7778c9d5e347d1b983fd24bfc4ab7c79630e31f4..71420f28c608013d940795df0251746f478e90dc 100644 |
--- a/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp |
+++ b/Source/core/rendering/svg/RenderSVGTransformableContainer.cpp |
@@ -96,7 +96,9 @@ bool RenderSVGTransformableContainer::calculateLocalTransform() |
m_lastTranslation = translation; |
} |
- m_didTransformToRootUpdate = m_needsTransformUpdate || SVGRenderSupport::transformToRootChanged(parent()); |
+ if (m_needsTransformUpdate || SVGRenderSupport::transformToRootChanged(parent())) |
+ m_didTransformToRootUpdate = true; |
dsinclair
2014/07/23 19:20:59
I don't think we want to do this. We use this flag
Xianzhu
2014/07/23 19:39:04
I think the full invalidation on transform change
Julien - ping for review
2014/07/23 20:05:24
I agree with Xianzhu on this one, it's conceptuall
fs
2014/07/24 08:43:56
If there's N layouts to one repaint, and the conta
|
+ |
if (!m_needsTransformUpdate) |
return false; |
@@ -106,4 +108,12 @@ bool RenderSVGTransformableContainer::calculateLocalTransform() |
return true; |
} |
+void RenderSVGTransformableContainer::clearPaintInvalidationState() |
+{ |
+ RenderSVGContainer::clearPaintInvalidationState(); |
+ |
+ ASSERT(!m_needsTransformUpdate); |
+ m_didTransformToRootUpdate = false; |
+} |
+ |
} |