Index: Source/core/layout/svg/LayoutSVGModelObject.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGModelObject.cpp b/Source/core/layout/svg/LayoutSVGModelObject.cpp |
index 7e2300849216be4bf4cea042ed4597ee8f86c1ec..b529531d0bf9860f7f6efa8aadb11bebe6ecc9cf 100644 |
--- a/Source/core/layout/svg/LayoutSVGModelObject.cpp |
+++ b/Source/core/layout/svg/LayoutSVGModelObject.cpp |
@@ -142,4 +142,12 @@ void LayoutSVGModelObject::invalidateTreeIfNeeded(PaintInvalidationState& paintI |
invalidatePaintOfSubtreesIfNeeded(childPaintInvalidationState); |
} |
+LayoutRect LayoutSVGModelObject::outlineVisualOverflowRect() const |
+{ |
+ LayoutRect outlineBounds(FloatPoint(), m_paintInvalidationBoundingBox.size()); |
+ if (int outlineOutset = styleRef().outlineOutsetExtent()) |
+ outlineBounds.inflate(outlineOutset); |
+ return outlineBounds; |
+} |
+ |
} // namespace blink |