Index: include/core/SkColorFilter.h |
diff --git a/include/core/SkColorFilter.h b/include/core/SkColorFilter.h |
index 25e6bbe746bb2f7ca9b62d5349a08db989cc56f3..5ddd6af08634fabcf5e593b4031665075c38d797 100644 |
--- a/include/core/SkColorFilter.h |
+++ b/include/core/SkColorFilter.h |
@@ -135,7 +135,9 @@ public: |
protected: |
SkColorFilter() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkColorFilter(SkReadBuffer& rb) : INHERITED(rb) {} |
+#endif |
private: |
typedef SkFlattenable INHERITED; |