Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index ce49460e653733836b8b27441c86adf0a827d185..85f8ea2ac69c0767fefe41a46065b27c7b18343d 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -63,18 +63,14 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkPath1DPathEffect) |
protected: |
- SkPath1DPathEffect(SkReadBuffer& buffer); |
+ SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
+ explicit SkPath1DPathEffect(SkReadBuffer& buffer); |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
// overrides from Sk1DPathEffect |
virtual SkScalar begin(SkScalar contourLength) const SK_OVERRIDE; |
virtual SkScalar next(SkPath*, SkScalar, SkPathMeasure&) const SK_OVERRIDE; |
-#ifdef SK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS |
-public: |
-#endif |
- SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
- |
private: |
SkPath fPath; // copied from constructor |
SkScalar fAdvance; // copied from constructor |