Index: include/effects/SkMorphologyImageFilter.h |
diff --git a/include/effects/SkMorphologyImageFilter.h b/include/effects/SkMorphologyImageFilter.h |
index def01e8e0a445bf426abb14a84348cdd49c71304..d63f49dab9c8cd2560bed53d3bb100ba4abda1c6 100644 |
--- a/include/effects/SkMorphologyImageFilter.h |
+++ b/include/effects/SkMorphologyImageFilter.h |
@@ -14,7 +14,7 @@ |
class SK_API SkMorphologyImageFilter : public SkImageFilter { |
public: |
- SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input); |
+ SkMorphologyImageFilter(int radiusX, int radiusY, SkImageFilter* input, const SkIRect* cropRect); |
protected: |
SkMorphologyImageFilter(SkFlattenableReadBuffer& buffer); |
@@ -32,8 +32,10 @@ private: |
class SK_API SkDilateImageFilter : public SkMorphologyImageFilter { |
public: |
- SkDilateImageFilter(int radiusX, int radiusY, SkImageFilter* input = NULL) |
- : INHERITED(radiusX, radiusY, input) {} |
+ SkDilateImageFilter(int radiusX, int radiusY, |
+ SkImageFilter* input = NULL, |
+ const SkIRect* cropRect = NULL) |
+ : INHERITED(radiusX, radiusY, input, cropRect) {} |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, |
SkBitmap* result, SkIPoint* offset) SK_OVERRIDE; |
@@ -53,8 +55,10 @@ private: |
class SK_API SkErodeImageFilter : public SkMorphologyImageFilter { |
public: |
- SkErodeImageFilter(int radiusX, int radiusY, SkImageFilter* input = NULL) |
- : INHERITED(radiusX, radiusY, input) {} |
+ SkErodeImageFilter(int radiusX, int radiusY, |
+ SkImageFilter* input = NULL, |
+ const SkIRect* cropRect = NULL) |
+ : INHERITED(radiusX, radiusY, input, cropRect) {} |
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const SkMatrix&, |
SkBitmap* result, SkIPoint* offset) SK_OVERRIDE; |