Index: include/core/SkColorFilter.h |
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h |
index 929607a398592f8d850590d0f69186b8c25c71f1..31d4a01ee7b11a2bde5a2a9a4c31f428b33921f5 100644 |
--- a/include/core/SkColorFilter.h |
+++ b/include/core/SkColorFilter.h |
@@ -135,6 +135,9 @@ |
protected: |
SkColorFilter() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkColorFilter(SkReadBuffer& rb) : INHERITED(rb) {} |
+#endif |
private: |
typedef SkFlattenable INHERITED; |