Index: include/effects/SkLightingImageFilter.h |
diff --git a/include/effects/SkLightingImageFilter.h b/include/effects/SkLightingImageFilter.h |
index 323da88ec8aa77c74524f6935c080a08f0ff9589..5fb0822666c19209ba230dcbf4582eefce8d5448 100644 |
--- a/include/effects/SkLightingImageFilter.h |
+++ b/include/effects/SkLightingImageFilter.h |
@@ -75,6 +75,9 @@ |
SkImageFilter* input, |
const CropRect* cropRect, |
uint32_t uniqueID); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkLightingImageFilter(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
const SkLight* light() const { return fLight.get(); } |
SkScalar surfaceScale() const { return fSurfaceScale; } |