aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 21:36:48 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 21:36:48 +0000
commite258eb34a8ad7a6ea9546e5096da172cf2380cbd (patch)
treebe7410f6e27ac6b4ff90c2c9f11bdb6781d31900 /include
parentc95e1e5d8f1f970a1f55e24fdb8593c3f545470f (diff)
Implement crop rect support for SkRectShaderImageFilter: remove fRect and use the cropRect from SkImageFilter in its place.
R=reed@google.com Review URL: https://codereview.chromium.org/26009004 git-svn-id: http://skia.googlecode.com/svn/trunk@11720 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/effects/SkRectShaderImageFilter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/effects/SkRectShaderImageFilter.h b/include/effects/SkRectShaderImageFilter.h
index a71ee42742..5ad11c104c 100644
--- a/include/effects/SkRectShaderImageFilter.h
+++ b/include/effects/SkRectShaderImageFilter.h
@@ -33,9 +33,8 @@ protected:
SkBitmap* result, SkIPoint* loc) SK_OVERRIDE;
private:
- SkRectShaderImageFilter(SkShader* s, const SkRect& rect);
+ SkRectShaderImageFilter(SkShader* s, const CropRect* rect);
SkShader* fShader;
- SkRect fRect;
typedef SkImageFilter INHERITED;
};