Index: src/effects/SkTileImageFilter.cpp |
diff --git a/src/effects/SkTileImageFilter.cpp b/src/effects/SkTileImageFilter.cpp |
index f17e2eac93cc7f7bcd1aba92cb7b7c09d4348e6d..b35d85262307c5d65f10355b6cb142369ecc6b45 100644 |
--- a/src/effects/SkTileImageFilter.cpp |
+++ b/src/effects/SkTileImageFilter.cpp |
@@ -16,17 +16,17 @@ |
#include "SkShader.h" |
#include "SkValidationUtils.h" |
-bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, const SkMatrix& ctm, |
+bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, const SkImageFilter::Context& ctx, |
SkBitmap* dst, SkIPoint* offset) const { |
SkBitmap source = src; |
SkImageFilter* input = getInput(0); |
SkIPoint srcOffset = SkIPoint::Make(0, 0); |
- if (input && !input->filterImage(proxy, src, ctm, &source, &srcOffset)) { |
+ if (input && !input->filterImage(proxy, src, ctx, &source, &srcOffset)) { |
return false; |
} |
SkRect dstRect; |
- ctm.mapRect(&dstRect, fDstRect); |
+ ctx.ctm().mapRect(&dstRect, fDstRect); |
SkIRect dstIRect; |
dstRect.roundOut(&dstIRect); |
int w = dstIRect.width(); |
@@ -36,7 +36,7 @@ bool SkTileImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& src, const S |
} |
SkRect srcRect; |
- ctm.mapRect(&srcRect, fSrcRect); |
+ ctx.ctm().mapRect(&srcRect, fSrcRect); |
SkIRect srcIRect; |
srcRect.roundOut(&srcIRect); |
srcIRect.offset(-srcOffset); |