Index: include/effects/SkColorMatrixFilter.h |
diff --git a/include/effects/SkColorMatrixFilter.h b/include/effects/SkColorMatrixFilter.h |
index edbe07dd7749f78e849cf7d8c240e7450734737d..b8464632b21ae98ed1fec5321ef90d9a833c02f5 100644 |
--- a/include/effects/SkColorMatrixFilter.h |
+++ b/include/effects/SkColorMatrixFilter.h |
@@ -41,7 +41,9 @@ public: |
protected: |
explicit SkColorMatrixFilter(const SkColorMatrix&); |
explicit SkColorMatrixFilter(const SkScalar array[20]); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkColorMatrixFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |