Index: src/gpu/effects/GrConvolutionEffect.cpp |
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp |
index aad7c878c989ae47a2f0b111243f9fe10a1c1ded..14ba4d71169fcadd4eb2146e8f83661a2e0f66bc 100644 |
--- a/src/gpu/effects/GrConvolutionEffect.cpp |
+++ b/src/gpu/effects/GrConvolutionEffect.cpp |
@@ -211,10 +211,10 @@ bool GrConvolutionEffect::onIsEqual(const GrEffect& sBase) const { |
GR_DEFINE_EFFECT_TEST(GrConvolutionEffect); |
-GrEffectRef* GrConvolutionEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrDrawTargetCaps&, |
- GrTexture* textures[]) { |
+GrEffect* GrConvolutionEffect::TestCreate(SkRandom* random, |
+ GrContext*, |
+ const GrDrawTargetCaps&, |
+ GrTexture* textures[]) { |
int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : |
GrEffectUnitTest::kAlphaTextureIdx; |
Direction dir = random->nextBool() ? kX_Direction : kY_Direction; |