Index: src/effects/SkMagnifierImageFilter.cpp |
diff --git a/src/effects/SkMagnifierImageFilter.cpp b/src/effects/SkMagnifierImageFilter.cpp |
index a747620484069ce7bd1d742b7753ba0a0e554cba..aa91b1c9804e20f68059e6bf125b048d925a6c9b 100644 |
--- a/src/effects/SkMagnifierImageFilter.cpp |
+++ b/src/effects/SkMagnifierImageFilter.cpp |
@@ -215,7 +215,7 @@ GrEffectRef* GrMagnifierEffect::TestCreate(SkMWCRandom* random, |
SkIntToScalar(width), SkIntToScalar(height)), |
inset)); |
GrEffectRef* effect; |
- filter->asNewEffect(&effect, textures[0], SkIPoint::Make(0, 0)); |
+ filter->asNewEffect(&effect, textures[0], SkMatrix::I()); |
SkASSERT(NULL != effect); |
return effect; |
} |
@@ -261,7 +261,7 @@ SkMagnifierImageFilter::SkMagnifierImageFilter(SkRect srcRect, SkScalar inset) |
} |
#if SK_SUPPORT_GPU |
-bool SkMagnifierImageFilter::asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkIPoint&) const { |
+bool SkMagnifierImageFilter::asNewEffect(GrEffectRef** effect, GrTexture* texture, const SkMatrix&) const { |
if (effect) { |
*effect = GrMagnifierEffect::Create(texture, |
fSrcRect.x() / texture->width(), |