Index: include/effects/SkDropShadowImageFilter.h |
diff --git a/include/effects/SkDropShadowImageFilter.h b/include/effects/SkDropShadowImageFilter.h |
index efd9032e487b3c26bd8be7f9838a8f95559817b8..85f4afd2a0b908211810308eab9aa2e1e96ac579 100644 |
--- a/include/effects/SkDropShadowImageFilter.h |
+++ b/include/effects/SkDropShadowImageFilter.h |
@@ -24,7 +24,9 @@ public: |
protected: |
SkDropShadowImageFilter(SkScalar dx, SkScalar dy, SkScalar sigmaX, SkScalar sigmaY, SkColor, |
SkImageFilter* input, const CropRect* cropRect); |
+#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING |
explicit SkDropShadowImageFilter(SkReadBuffer&); |
+#endif |
virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
virtual bool onFilterImage(Proxy*, const SkBitmap& source, const Context&, SkBitmap* result, SkIPoint* loc) const SK_OVERRIDE; |
virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, |