Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index 2740edc3eff0bff1a0f57d9659ea6e78f466c1a2..b7e7b9c045d96e01317e029ae77ea4e099d9cb0a 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -330,15 +330,15 @@ class GrGLMatrixConvolutionEffect; |
class GrMatrixConvolutionEffect : public GrSingleTextureEffect { |
public: |
typedef SkMatrixConvolutionImageFilter::TileMode TileMode; |
- static GrEffectRef* Create(GrTexture* texture, |
- const SkIRect& bounds, |
- const SkISize& kernelSize, |
- const SkScalar* kernel, |
- SkScalar gain, |
- SkScalar bias, |
- const SkIPoint& kernelOffset, |
- TileMode tileMode, |
- bool convolveAlpha) { |
+ static GrEffect* Create(GrTexture* texture, |
+ const SkIRect& bounds, |
+ const SkISize& kernelSize, |
+ const SkScalar* kernel, |
+ SkScalar gain, |
+ SkScalar bias, |
+ const SkIPoint& kernelOffset, |
+ TileMode tileMode, |
+ bool convolveAlpha) { |
return SkNEW_ARGS(GrMatrixConvolutionEffect, (texture, |
bounds, |
kernelSize, |
@@ -625,10 +625,10 @@ GR_DEFINE_EFFECT_TEST(GrMatrixConvolutionEffect); |
// Allows for a 5x5 kernel (or 25x1, for that matter). |
#define MAX_KERNEL_SIZE 25 |
-GrEffectRef* GrMatrixConvolutionEffect::TestCreate(SkRandom* random, |
- GrContext* context, |
- const GrDrawTargetCaps&, |
- GrTexture* textures[]) { |
+GrEffect* GrMatrixConvolutionEffect::TestCreate(SkRandom* random, |
+ GrContext* context, |
+ const GrDrawTargetCaps&, |
+ GrTexture* textures[]) { |
int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : |
GrEffectUnitTest::kAlphaTextureIdx; |
int width = random->nextRangeU(1, MAX_KERNEL_SIZE); |
@@ -659,7 +659,7 @@ GrEffectRef* GrMatrixConvolutionEffect::TestCreate(SkRandom* random, |
convolveAlpha); |
} |
-bool SkMatrixConvolutionImageFilter::asNewEffect(GrEffectRef** effect, |
+bool SkMatrixConvolutionImageFilter::asNewEffect(GrEffect** effect, |
GrTexture* texture, |
const SkMatrix&, |
const SkIRect& bounds |