Index: include/core/SkShader.h |
diff --git a/include/core/SkShader.h b/include/core/SkShader.h |
index 4f3fd29693a8ce56096c528017b0416115abb7d0..1e71577bf15191ea65ae16f58f65f4309f1e7ba6 100644 |
--- a/include/core/SkShader.h |
+++ b/include/core/SkShader.h |
@@ -461,7 +461,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; |