Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index fb957e72f288ec69fcecf7814caf958476700226..bc34e656d02185661580089f61ee750de44cb046 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -29,19 +29,19 @@ public: |
SimpleOffsetFilter(SkScalar dx, SkScalar dy, SkImageFilter* input) |
: SkImageFilter(input), fDX(dx), fDY(dy) {} |
- virtual bool onFilterImage(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, |
+ virtual bool onFilterImage(Proxy* proxy, const SkBitmap& src, const Context& ctx, |
SkBitmap* dst, SkIPoint* offset) const SK_OVERRIDE { |
SkBitmap source = src; |
SkImageFilter* input = getInput(0); |
SkIPoint srcOffset = SkIPoint::Make(0, 0); |
- if (NULL != input && !input->filterImage(proxy, src, ctm, &source, &srcOffset)) { |
+ if (NULL != input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { |
return false; |
} |
SkIRect bounds; |
source.getBounds(&bounds); |
- if (!this->applyCropRect(&bounds, ctm)) { |
+ if (!this->applyCropRect(&bounds, ctx.ctm())) { |
return false; |
} |