Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index 0033485e2903d97fb4ac1a9666446eed6019a695..e9911cef811e67b290cf76be2dc8a7016ccb6cc9 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -479,6 +479,9 @@ |
SK_DEFINE_FLATTENABLE_TYPE(SkShader) |
protected: |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkShader(SkReadBuffer& ); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
bool computeTotalInverse(const ContextRec&, SkMatrix* totalInverse) const; |