Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index c8959eecfbe01dbab865cc8e25e248fa3ddcc6e7..aa17c9d7c9c31852016489776b4232b66615af55 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -363,15 +363,15 @@ static GrTextureDomain::Mode convert_tilemodes( |
return GrTextureDomain::kIgnore_Mode; |
} |
-bool SkMatrixConvolutionImageFilter::asNewEffect(GrEffect** effect, |
- GrTexture* texture, |
- const SkMatrix&, |
- const SkIRect& bounds) const { |
- if (!effect) { |
+bool SkMatrixConvolutionImageFilter::asFragmentProcessor(GrFragmentProcessor** fp, |
+ GrTexture* texture, |
+ const SkMatrix&, |
+ const SkIRect& bounds) const { |
+ if (!fp) { |
return fKernelSize.width() * fKernelSize.height() <= MAX_KERNEL_SIZE; |
} |
SkASSERT(fKernelSize.width() * fKernelSize.height() <= MAX_KERNEL_SIZE); |
- *effect = GrMatrixConvolutionEffect::Create(texture, |
+ *fp = GrMatrixConvolutionEffect::Create(texture, |
bounds, |
fKernelSize, |
fKernel, |