Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index 24636cae8d364871c58b2b52b9016f8d8dc0d7b0..8f4cb3a8eaaf765ca65020241cfb52d685ca4e46 100644 |
--- a/gm/rrects.cpp |
+++ b/gm/rrects.cpp |
@@ -117,7 +117,7 @@ protected: |
SkRRect rrect = fRRects[curRRect]; |
rrect.offset(SkIntToScalar(x), SkIntToScalar(y)); |
GrEffectEdgeType edgeType = (GrEffectEdgeType) et; |
- SkAutoTUnref<GrEffectRef> effect(GrRRectEffect::Create(edgeType, rrect)); |
+ SkAutoTUnref<GrEffect> effect(GrRRectEffect::Create(edgeType, rrect)); |
if (effect) { |
drawState->addCoverageEffect(effect); |
drawState->setIdentityViewMatrix(); |