Index: include/effects/SkOffsetImageFilter.h |
diff --git a/include/effects/SkOffsetImageFilter.h b/include/effects/SkOffsetImageFilter.h |
index 768bd670c2d7bce3142d21261f40550d2f2f8772..0b9ca83319280635910c28fde25fe04254e68e1a 100644 |
--- a/include/effects/SkOffsetImageFilter.h |
+++ b/include/effects/SkOffsetImageFilter.h |
@@ -21,7 +21,7 @@ public: |
return new SkOffsetImageFilter(dx, dy, input, cropRect); |
} |
- void computeFastBounds(const SkRect& src, SkRect* dst) const override; |
+ SkRect computeFastBounds(const SkRect& src) const override; |
SK_TO_STRING_OVERRIDE() |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkOffsetImageFilter) |
@@ -30,7 +30,7 @@ protected: |
void flatten(SkWriteBuffer&) const override; |
SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&, |
SkIPoint* offset) const override; |
- void onFilterNodeBounds(const SkIRect&, const SkMatrix&, SkIRect*, MapDirection) const override; |
+ SkIRect onFilterNodeBounds(const SkIRect&, const SkMatrix&, MapDirection) const override; |
private: |
SkOffsetImageFilter(SkScalar dx, SkScalar dy, SkImageFilter* input, const CropRect*); |