Index: include/effects/SkMatrixConvolutionImageFilter.h |
diff --git a/include/effects/SkMatrixConvolutionImageFilter.h b/include/effects/SkMatrixConvolutionImageFilter.h |
index ddb421f0113a018c2310ca2f815d8fb3f0ded2e4..a4eb16b793c43d4963a5eb8452d4179e98b70a86 100644 |
--- a/include/effects/SkMatrixConvolutionImageFilter.h |
+++ b/include/effects/SkMatrixConvolutionImageFilter.h |
@@ -13,6 +13,8 @@ |
#include "SkSize.h" |
#include "SkPoint.h" |
+class SkBitmap; |
+ |
/*! \class SkMatrixConvolutionImageFilter |
Matrix convolution image filter. This filter applies an NxM image |
processing kernel to a given input image. This can be used to produce |
@@ -77,8 +79,8 @@ protected: |
const CropRect* cropRect); |
void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
- virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&, |
- SkBitmap* result, SkIPoint* loc) const SK_OVERRIDE; |
+ virtual bool onFilterImage(Proxy*, const SkImage* src, const Context&, |
+ SkAutoTUnref<const SkImage>& result, SkIPoint* loc) const SK_OVERRIDE; |
bool onFilterBounds(const SkIRect&, const SkMatrix&, SkIRect*) const SK_OVERRIDE; |