Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index 841561baa970df615a5d9ee2e419537980bf896d..b5ad38600b5f15f175a8cf0c1e6b0f40921a19c9 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -51,10 +51,10 @@ const GrBackendEffectFactory& GrSimpleTextureEffect::getFactory() const { |
GR_DEFINE_EFFECT_TEST(GrSimpleTextureEffect); |
-GrEffectRef* GrSimpleTextureEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrDrawTargetCaps&, |
- GrTexture* textures[]) { |
+GrEffect* GrSimpleTextureEffect::TestCreate(SkRandom* random, |
+ GrContext*, |
+ const GrDrawTargetCaps&, |
+ GrTexture* textures[]) { |
int texIdx = random->nextBool() ? GrEffectUnitTest::kSkiaPMTextureIdx : |
GrEffectUnitTest::kAlphaTextureIdx; |
static const SkShader::TileMode kTileModes[] = { |