Index: include/effects/SkPictureImageFilter.h |
diff --git a/include/effects/SkPictureImageFilter.h b/include/effects/SkPictureImageFilter.h |
index 59097ddf59e309964e6c442b8baf652734d2f39d..c3f9435d614eae9c545c71592d60ca2f1724957c 100644 |
--- a/include/effects/SkPictureImageFilter.h |
+++ b/include/effects/SkPictureImageFilter.h |
@@ -79,17 +79,20 @@ protected: |
* @param SkReadBuffer Serialized picture data. |
*/ |
void flatten(SkWriteBuffer&) const override; |
- bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result, |
- SkIPoint* offset) const override; |
+ sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context&, |
+ SkIPoint* offset) const override; |
private: |
explicit SkPictureImageFilter(sk_sp<SkPicture> picture); |
SkPictureImageFilter(sk_sp<SkPicture> picture, const SkRect& cropRect, |
PictureResolution, SkFilterQuality); |
- void drawPictureAtDeviceResolution(SkBaseDevice*, const SkIRect& deviceBounds, |
+ void drawPictureAtDeviceResolution(SkCanvas* canvas, |
+ const SkIRect& deviceBounds, |
const Context&) const; |
- void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds, |
+ void drawPictureAtLocalResolution(SkSpecialImage* source, |
+ SkCanvas*, |
+ const SkIRect& deviceBounds, |
const Context&) const; |
sk_sp<SkPicture> fPicture; |