Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index a878894c59949410cf2c0522e766657f23c06336..704750efcaf4f8dd80434aa5a38badc5de94a78a 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -165,7 +165,7 @@ bool GrClipMaskManager::installClipEffects(const ElementList& elements, |
} else { |
edgeType = invert ? kInverseFillBW_GrEffectEdgeType : kFillBW_GrEffectEdgeType; |
} |
- SkAutoTUnref<GrEffectRef> effect; |
+ SkAutoTUnref<GrEffect> effect; |
switch (iter.get()->getType()) { |
case SkClipStack::Element::kPath_Type: |
effect.reset(GrConvexPolyEffect::Create(edgeType, iter.get()->getPath(), |