Index: include/effects/SkColorCubeFilter.h |
diff --git a/include/effects/SkColorCubeFilter.h b/include/effects/SkColorCubeFilter.h |
index ebd5e5fbb5c40c6c57c7724ef4f472f8f7eafadd..2cfee45e9cf00bf683e1d6c2060c12ea88ae00b4 100644 |
--- a/include/effects/SkColorCubeFilter.h |
+++ b/include/effects/SkColorCubeFilter.h |
@@ -32,6 +32,9 @@ |
protected: |
SkColorCubeFilter(SkData* cubeData, int cubeDimension); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkColorCubeFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |