Index: Source/core/layout/svg/LayoutSVGShape.h |
diff --git a/Source/core/layout/svg/LayoutSVGShape.h b/Source/core/layout/svg/LayoutSVGShape.h |
index 6c4a6d6f13bc302d84d20ad1edf42da8870b8c82..2be5b019bf700480dd700fb0d26c33cd26bdcd3b 100644 |
--- a/Source/core/layout/svg/LayoutSVGShape.h |
+++ b/Source/core/layout/svg/LayoutSVGShape.h |
@@ -86,6 +86,11 @@ protected: |
void createPath(); |
virtual void updateShapeFromElement(); |
+ // Calculates an inclusive bounding box of this shape as if this shape has |
+ // a stroke. If this shape has a stroke, then m_strokeBoundingBox is returned; |
+ // otherwise, estimates a bounding box (not necessarily tight) that would |
+ // include this shape's stroke bounding box if it had a stroke. |
+ virtual FloatRect hitTestStrokeBoundingBox() const; |
virtual bool shapeDependentStrokeContains(const FloatPoint&); |
virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const; |