Index: include/effects/SkCornerPathEffect.h |
diff --git a/include/effects/SkCornerPathEffect.h b/include/effects/SkCornerPathEffect.h |
index 13095f0e6c4a46cb46d6db731a2707f967576d0d..4c8908575db241f581e3c9f6e5fd857f69f7cdfb 100644 |
--- a/include/effects/SkCornerPathEffect.h |
+++ b/include/effects/SkCornerPathEffect.h |
@@ -20,7 +20,8 @@ |
/** radius must be > 0 to have an effect. It specifies the distance from each corner |
that should be "rounded". |
*/ |
- static SkPathEffect* Create(SkScalar radius) { return new SkCornerPathEffect(radius); } |
+ static SkCornerPathEffect* Create(SkScalar radius) { return new SkCornerPathEffect(radius); } |
+ virtual ~SkCornerPathEffect(); |
virtual bool filterPath(SkPath* dst, const SkPath& src, |
SkStrokeRec*, const SkRect*) const override; |
@@ -33,8 +34,6 @@ |
#endif |
protected: |
- virtual ~SkCornerPathEffect(); |
- |
explicit SkCornerPathEffect(SkScalar radius); |
void flatten(SkWriteBuffer&) const override; |