Index: include/effects/SkXfermodeImageFilter.h |
diff --git a/include/effects/SkXfermodeImageFilter.h b/include/effects/SkXfermodeImageFilter.h |
index 05f96c49112760dc94a2626464a1975dc5be72f4..7c29e28e8a9f9792692406f5e5d29899cb6863f6 100644 |
--- a/include/effects/SkXfermodeImageFilter.h |
+++ b/include/effects/SkXfermodeImageFilter.h |
@@ -46,7 +46,9 @@ public: |
protected: |
SkXfermodeImageFilter(SkXfermode* mode, SkImageFilter* inputs[2], |
const CropRect* cropRect); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkXfermodeImageFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |