Index: src/effects/SkLumaColorFilter.cpp |
diff --git a/src/effects/SkLumaColorFilter.cpp b/src/effects/SkLumaColorFilter.cpp |
index 9ad5797f352cc0d5b625d03cdb4edd705c41230e..2b57cb1cef12f58c0c541df0e98f476ff3e680eb 100644 |
--- a/src/effects/SkLumaColorFilter.cpp |
+++ b/src/effects/SkLumaColorFilter.cpp |
@@ -43,6 +43,10 @@ |
} |
SkLumaColorFilter::SkLumaColorFilter() : INHERITED() {} |
+ |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+SkLumaColorFilter::SkLumaColorFilter(SkReadBuffer& buffer) : INHERITED(buffer) {} |
+#endif |
SkFlattenable* SkLumaColorFilter::CreateProc(SkReadBuffer&) { |
return SkNEW(SkLumaColorFilter); |