Index: include/effects/SkResizeImageFilter.h |
diff --git a/include/effects/SkResizeImageFilter.h b/include/effects/SkResizeImageFilter.h |
index cc02a01d03e2c9626e9b54a509e8c19563aa63b1..0a8fb14647ce3185b7cbb6e5fc636b9d514f1103 100644 |
--- a/include/effects/SkResizeImageFilter.h |
+++ b/include/effects/SkResizeImageFilter.h |
@@ -32,6 +32,7 @@ public: |
SkResizeImageFilter(SkScalar sx, SkScalar sy, SkPaint::FilterLevel filterLevel, |
SkImageFilter* input = NULL); |
virtual ~SkResizeImageFilter(); |
+ virtual void computeFastBounds(const SkRect&, SkRect*) const SK_OVERRIDE; |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkResizeImageFilter) |
@@ -41,6 +42,8 @@ protected: |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, |
SkBitmap* result, SkIPoint* loc) const SK_OVERRIDE; |
+ virtual bool onFilterBounds(const SkIRect& src, const SkMatrix&, |
+ SkIRect* dst) const SK_OVERRIDE; |
private: |
SkScalar fSx, fSy; |