Index: include/effects/SkDisplacementMapEffect.h |
diff --git a/include/effects/SkDisplacementMapEffect.h b/include/effects/SkDisplacementMapEffect.h |
index a5296fd6a79114f73467952a59be0866ba27da5f..0a658aceaf7629c1826d598868032ef1134cd59a 100644 |
--- a/include/effects/SkDisplacementMapEffect.h |
+++ b/include/effects/SkDisplacementMapEffect.h |
@@ -54,6 +54,9 @@ |
SkScalar scale, SkImageFilter* inputs[2], |
const CropRect* cropRect, |
uint32_t uniqueID); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
+ explicit SkDisplacementMapEffect(SkReadBuffer& buffer); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
private: |