Index: include/effects/SkStippleMaskFilter.h |
diff --git a/include/effects/SkStippleMaskFilter.h b/include/effects/SkStippleMaskFilter.h |
index ee32ae1fe35ed856210a1ee3587573e99b1a6acc..ad7f767e495421b7e6c41265566f086d3520d7a9 100644 |
--- a/include/effects/SkStippleMaskFilter.h |
+++ b/include/effects/SkStippleMaskFilter.h |
@@ -15,7 +15,8 @@ |
*/ |
class SK_API SkStippleMaskFilter : public SkMaskFilter { |
public: |
- SkStippleMaskFilter() : INHERITED() { |
+ static SkStippleMaskFilter* Create() { |
+ return SkNEW(SkStippleMaskFilter); |
} |
virtual bool filterMask(SkMask* dst, const SkMask& src, |
@@ -35,6 +36,12 @@ protected: |
: SkMaskFilter(buffer) { |
} |
+#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
+public: |
+#endif |
+ SkStippleMaskFilter() : INHERITED() { |
+ } |
+ |
private: |
typedef SkMaskFilter INHERITED; |
}; |