Index: src/image/SkImageShader.cpp |
diff --git a/src/image/SkImageShader.cpp b/src/image/SkImageShader.cpp |
index fde0f0c9d56a93d1f4bc3f1d3bfe16ce9bdbfa9f..6c82fa91f8aacdfce5a73a8919fc35f1fc909a73 100644 |
--- a/src/image/SkImageShader.cpp |
+++ b/src/image/SkImageShader.cpp |
@@ -85,8 +85,7 @@ void SkImageShader::toString(SkString* str) const { |
const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context, |
const SkMatrix& viewM, |
const SkMatrix* localMatrix, |
- SkFilterQuality filterQuality, |
- GrProcessorDataManager* mgr) const { |
+ SkFilterQuality filterQuality) const { |
SkMatrix matrix; |
matrix.setIDiv(fImage->width(), fImage->height()); |
@@ -130,9 +129,9 @@ const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context |
SkAutoTUnref<GrFragmentProcessor> inner; |
if (doBicubic) { |
- inner.reset(GrBicubicEffect::Create(mgr, texture, matrix, tm)); |
+ inner.reset(GrBicubicEffect::Create(texture, matrix, tm)); |
} else { |
- inner.reset(GrSimpleTextureEffect::Create(mgr, texture, matrix, params)); |
+ inner.reset(GrSimpleTextureEffect::Create(texture, matrix, params)); |
} |
if (GrPixelConfigIsAlphaOnly(texture->config())) { |