Index: include/effects/SkLumaColorFilter.h |
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h |
index 06eb01a1ffd629a7770069bfcfd40299be5de483..38bab92ce417e4f5d4e02b2edf9ee79c23ac5cf3 100644 |
--- a/include/effects/SkLumaColorFilter.h |
+++ b/include/effects/SkLumaColorFilter.h |
@@ -35,7 +35,9 @@ public: |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLumaColorFilter) |
protected: |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
SkLumaColorFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |