Index: src/gpu/effects/GrBezierEffect.cpp |
diff --git a/src/gpu/effects/GrBezierEffect.cpp b/src/gpu/effects/GrBezierEffect.cpp |
index 862c1d2c179583e00cede550484d615a9d6a61ae..0736b5a22bd46c9feb2131e4bb92140be3fa0260 100644 |
--- a/src/gpu/effects/GrBezierEffect.cpp |
+++ b/src/gpu/effects/GrBezierEffect.cpp |
@@ -143,11 +143,11 @@ bool GrConicEffect::onIsEqual(const GrEffect& other) const { |
GR_DEFINE_EFFECT_TEST(GrConicEffect); |
-GrEffectRef* GrConicEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrDrawTargetCaps& caps, |
- GrTexture*[]) { |
- GrEffectRef* effect; |
+GrEffect* GrConicEffect::TestCreate(SkRandom* random, |
+ GrContext*, |
+ const GrDrawTargetCaps& caps, |
+ GrTexture*[]) { |
+ GrEffect* effect; |
do { |
GrEffectEdgeType edgeType = static_cast<GrEffectEdgeType>( |
random->nextULessThan(kGrEffectEdgeTypeCnt)); |
@@ -281,11 +281,11 @@ bool GrQuadEffect::onIsEqual(const GrEffect& other) const { |
GR_DEFINE_EFFECT_TEST(GrQuadEffect); |
-GrEffectRef* GrQuadEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrDrawTargetCaps& caps, |
- GrTexture*[]) { |
- GrEffectRef* effect; |
+GrEffect* GrQuadEffect::TestCreate(SkRandom* random, |
+ GrContext*, |
+ const GrDrawTargetCaps& caps, |
+ GrTexture*[]) { |
+ GrEffect* effect; |
do { |
GrEffectEdgeType edgeType = static_cast<GrEffectEdgeType>( |
random->nextULessThan(kGrEffectEdgeTypeCnt)); |
@@ -429,11 +429,11 @@ bool GrCubicEffect::onIsEqual(const GrEffect& other) const { |
GR_DEFINE_EFFECT_TEST(GrCubicEffect); |
-GrEffectRef* GrCubicEffect::TestCreate(SkRandom* random, |
- GrContext*, |
- const GrDrawTargetCaps& caps, |
- GrTexture*[]) { |
- GrEffectRef* effect; |
+GrEffect* GrCubicEffect::TestCreate(SkRandom* random, |
+ GrContext*, |
+ const GrDrawTargetCaps& caps, |
+ GrTexture*[]) { |
+ GrEffect* effect; |
do { |
GrEffectEdgeType edgeType = static_cast<GrEffectEdgeType>( |
random->nextULessThan(kGrEffectEdgeTypeCnt)); |