Index: src/core/SkFilterShader.h |
diff --git a/src/core/SkFilterShader.h b/src/core/SkFilterShader.h |
index 1a4b71fe4694a2ad0cabb5d316650355ce35dd8c..2ff6cdaf6359617fd4be21b7c8ba0c76083aa100 100644 |
--- a/src/core/SkFilterShader.h |
+++ b/src/core/SkFilterShader.h |
@@ -40,7 +40,9 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkFilterShader) |
protected: |
- SkFilterShader(SkReadBuffer& ); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ SkFilterShader(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
virtual Context* onCreateContext(const ContextRec&, void* storage) const SK_OVERRIDE; |