Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index e5af40dd7a181295a7433af9373a721e22805579..8cff4b4168f2148e3b7fc6bd6c858db74defb84e 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -454,7 +454,9 @@ public: |
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; |