Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index ffb1f836d890ef1b1cad7a520d7857e1b75411c5..2920714f88ce9fbf35fe38909cde20e87bae7e9b 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -307,7 +307,7 @@ bool SkImageFilter::onFilterImage(Proxy*, const SkBitmap&, const Context&, |
} |
bool SkImageFilter::canFilterImageGPU() const { |
- return this->asFragmentProcessor(nullptr, nullptr, nullptr, SkMatrix::I(), SkIRect()); |
+ return this->asFragmentProcessor(nullptr, nullptr, SkMatrix::I(), SkIRect()); |
} |
bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Context& ctx, |
@@ -350,7 +350,7 @@ bool SkImageFilter::filterImageGPU(Proxy* proxy, const SkBitmap& src, const Cont |
SkMatrix matrix(ctx.ctm()); |
matrix.postTranslate(SkIntToScalar(-bounds.left()), SkIntToScalar(-bounds.top())); |
GrPaint paint; |
- if (this->asFragmentProcessor(&fp, paint.getProcessorDataManager(), srcTexture, matrix, bounds)) { |
+ if (this->asFragmentProcessor(&fp, srcTexture, matrix, bounds)) { |
SkASSERT(fp); |
paint.addColorFragmentProcessor(fp)->unref(); |
@@ -428,7 +428,7 @@ bool SkImageFilter::onFilterBounds(const SkIRect& src, const SkMatrix& ctm, |
return true; |
} |
-bool SkImageFilter::asFragmentProcessor(GrFragmentProcessor**, GrProcessorDataManager*, GrTexture*, |
+bool SkImageFilter::asFragmentProcessor(GrFragmentProcessor**, GrTexture*, |
const SkMatrix&, const SkIRect&) const { |
return false; |
} |