Index: include/core/SkPathEffect.h |
diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h |
index 562025351e8563f0a29cefc312c89eda4a52ce10..ec7e4f3af1f99c048717159cab66cffc775641f7 100644 |
--- a/include/core/SkPathEffect.h |
+++ b/include/core/SkPathEffect.h |
@@ -135,7 +135,9 @@ public: |
protected: |
SkPathEffect() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkPathEffect(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
private: |
// illegal |