Index: include/effects/SkLerpXfermode.h |
diff --git a/include/effects/SkLerpXfermode.h b/include/effects/SkLerpXfermode.h |
index d9186d904c5663109f206a7ed02fd312e26e2a94..d779f1677709a5b9bab76eb448f52708afe7878f 100644 |
--- a/include/effects/SkLerpXfermode.h |
+++ b/include/effects/SkLerpXfermode.h |
@@ -32,7 +32,9 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLerpXfermode) |
protected: |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkLerpXfermode(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |