Index: include/effects/SkDisplacementMapEffect.h |
diff --git a/include/effects/SkDisplacementMapEffect.h b/include/effects/SkDisplacementMapEffect.h |
index 6aee97f43ac939cf27013616eaca2fda615c3ba6..a5b81e85851f563fde871b388a52f589a256566a 100644 |
--- a/include/effects/SkDisplacementMapEffect.h |
+++ b/include/effects/SkDisplacementMapEffect.h |
@@ -36,11 +36,11 @@ public: |
const Context& ctx, |
SkBitmap* dst, |
SkIPoint* offset) const override; |
- void computeFastBounds(const SkRect& src, SkRect* dst) const override; |
+ SkRect computeFastBounds(const SkRect& src) const override; |
- virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, |
- SkIRect* dst, MapDirection) const override; |
- void onFilterNodeBounds(const SkIRect&, const SkMatrix&, SkIRect*, MapDirection) const override; |
+ virtual SkIRect onFilterBounds(const SkIRect& src, const SkMatrix&, |
+ MapDirection) const override; |
+ SkIRect onFilterNodeBounds(const SkIRect&, const SkMatrix&, MapDirection) const override; |
#if SK_SUPPORT_GPU |
bool canFilterImageGPU() const override { return true; } |