Index: include/effects/SkMatrixImageFilter.h |
diff --git a/include/effects/SkMatrixImageFilter.h b/include/effects/SkMatrixImageFilter.h |
index 14b0b8e153ac76bd8ce51ad4a9f4db2eb68c163b..15f8243072ef6ff11e1ea7e51d90845a75268aba 100644 |
--- a/include/effects/SkMatrixImageFilter.h |
+++ b/include/effects/SkMatrixImageFilter.h |
@@ -41,7 +41,9 @@ protected: |
SkMatrixImageFilter(const SkMatrix& transform, |
SkPaint::FilterLevel, |
SkImageFilter* input); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkMatrixImageFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |