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