diff options
Diffstat (limited to 'experimental/svg/model/SkSVGPath.h')
-rw-r--r-- | experimental/svg/model/SkSVGPath.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/experimental/svg/model/SkSVGPath.h b/experimental/svg/model/SkSVGPath.h index e72f0d137e..8297a8d557 100644 --- a/experimental/svg/model/SkSVGPath.h +++ b/experimental/svg/model/SkSVGPath.h @@ -21,12 +21,13 @@ public: protected: void onSetAttribute(SkSVGAttribute, const SkSVGValue&) override; - void onDraw(SkCanvas*, const SkSVGLengthContext&, const SkPaint&) const override; + void onDraw(SkCanvas*, const SkSVGLengthContext&, const SkPaint&, + SkPath::FillType) const override; private: SkSVGPath(); - SkPath fPath; + mutable SkPath fPath; // mutated in onDraw(), to apply inherited fill types. typedef SkSVGShape INHERITED; }; |