Index: include/effects/SkDashPathEffect.h |
diff --git a/include/effects/SkDashPathEffect.h b/include/effects/SkDashPathEffect.h |
index 6fab962261172405c6d4a9e96d565a19ac4de996..394622426d9f8edf28622cd1dc408133eaeb66d7 100644 |
--- a/include/effects/SkDashPathEffect.h |
+++ b/include/effects/SkDashPathEffect.h |
@@ -51,13 +51,13 @@ public: |
virtual DashType asADash(DashInfo* info) const SK_OVERRIDE; |
- virtual Factory getFactory() const SK_OVERRIDE; |
- |
- static SkFlattenable* CreateProc(SkReadBuffer&); |
+ SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkDashPathEffect) |
protected: |
SkDashPathEffect(const SkScalar intervals[], int count, SkScalar phase); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkDashPathEffect(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |