Chromium Code Reviews| Index: Source/core/rendering/svg/RenderSVGShape.h |
| diff --git a/Source/core/rendering/svg/RenderSVGShape.h b/Source/core/rendering/svg/RenderSVGShape.h |
| index 11dbf4f86567537cc04e60e12d22ca008fa89547..764e239c76231a4bad87419555b9540e74bfbd51 100644 |
| --- a/Source/core/rendering/svg/RenderSVGShape.h |
| +++ b/Source/core/rendering/svg/RenderSVGShape.h |
| @@ -83,6 +83,8 @@ protected: |
| virtual void updateShapeFromElement(); |
| virtual bool shapeDependentStrokeContains(const FloatPoint&); |
| virtual bool shapeDependentFillContains(const FloatPoint&, const WindRule) const; |
| + // Is the stroke "smooth"; that is, can we use simple geometry for hit testing |
|
Erik Dahlström (inactive)
2014/12/03 15:16:35
That this has to be explained here indicates that
fs
2014/12/03 15:56:06
Maybe 'hasContinousStroke' instead? (and make it c
|
| + // or should we fall back to letting Skia handle the hit testing? |
| bool hasSmoothStroke() const; |
| // Give RenderSVGPath a hook for updating markers in updateShapeFromElement. |