Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
index a60f188fd6f149177cde8c604ace7a8c7210d855..8a66fd86e1f36e3bb66ed7bc0f7f3f859141af66 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -516,11 +516,12 @@ void LayoutSVGText::invalidateTreeIfNeeded(const PaintInvalidationState& paintIn |
if (reason == PaintInvalidationDelayedFull) |
paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); |
+ // TODO(wangxianzhu): Move this to fast path if possible. crbug.com/391054. |
ForceHorriblySlowRectMapping slowRectMapping(&newPaintInvalidationState); |
if (reason == PaintInvalidationSVGResourceChange) |
newPaintInvalidationState.setForceSubtreeInvalidationWithinContainer(); |
- newPaintInvalidationState.updatePaintOffsetAndClipForChildren(); |
+ newPaintInvalidationState.updateForChildren(); |
invalidatePaintOfSubtreesIfNeeded(newPaintInvalidationState); |
} |