Index: gm/convexpolyeffect.cpp |
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp |
index 08bd88752c11a6700ae6cc4fa81d5b9cd8626679..00e89db2b170c0b4e05d6998c97e2eb762046552 100644 |
--- a/gm/convexpolyeffect.cpp |
+++ b/gm/convexpolyeffect.cpp |
@@ -135,7 +135,7 @@ protected: |
path->transform(m, &p); |
GrEffectEdgeType edgeType = (GrEffectEdgeType) et; |
- SkAutoTUnref<GrEffectRef> effect(GrConvexPolyEffect::Create(edgeType, p)); |
+ SkAutoTUnref<GrEffect> effect(GrConvexPolyEffect::Create(edgeType, p)); |
if (!effect) { |
continue; |
} |
@@ -187,7 +187,7 @@ protected: |
SkRect rect = *iter.get(); |
rect.offset(x, y); |
GrEffectEdgeType edgeType = (GrEffectEdgeType) et; |
- SkAutoTUnref<GrEffectRef> effect(GrConvexPolyEffect::Create(edgeType, rect)); |
+ SkAutoTUnref<GrEffect> effect(GrConvexPolyEffect::Create(edgeType, rect)); |
if (!effect) { |
continue; |
} |