Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
index 259d6f39208de78b9e14c3ad9b23a437dfa335e8..4ee1f830fdf92f645ca0e855d7ad9052f9e6453f 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
@@ -231,12 +231,14 @@ void LayoutSVGInlineText::computeNewScaledFontForStyle(LayoutObject* layoutObjec |
scaledFont.update(document.styleEngine().fontSelector()); |
} |
-LayoutRect LayoutSVGInlineText::clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |
+LayoutRect LayoutSVGInlineText::absoluteClippedOverflowRect() const |
{ |
- // FIXME: The following works because LayoutSVGBlock has forced slow rect mapping of the paintInvalidationState. |
- // Should let this really work with paintInvalidationState's fast mapping and remove the assert. |
- ASSERT(!paintInvalidationState || !paintInvalidationState->canMapToAncestor(paintInvalidationContainer)); |
- return parent()->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, nullptr); |
+ return parent()->absoluteClippedOverflowRect(); |
+} |
+ |
+FloatRect LayoutSVGInlineText::paintInvalidationRectInLocalSVGCoordinates() const |
+{ |
+ return parent()->paintInvalidationRectInLocalSVGCoordinates(); |
} |
PassRefPtr<StringImpl> LayoutSVGInlineText::originalText() const |