Index: Source/core/layout/svg/LayoutSVGShape.h |
diff --git a/Source/core/layout/svg/LayoutSVGShape.h b/Source/core/layout/svg/LayoutSVGShape.h |
index a97645b275381f36dfdb7a26d454a2e51a677049..29879a48168e5e29749223ecbc90769e8a2e1794 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; |