Index: include/core/SkDrawLooper.h |
diff --git a/include/core/SkDrawLooper.h b/include/core/SkDrawLooper.h |
index b92baccc0838c19ae84edc110d48c10ec90d63bd..f771d01c7096a7664f38c7152007349d1c223bbe 100644 |
--- a/include/core/SkDrawLooper.h |
+++ b/include/core/SkDrawLooper.h |
@@ -114,7 +114,9 @@ public: |
protected: |
SkDrawLooper() {} |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkDrawLooper(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
private: |
typedef SkFlattenable INHERITED; |