Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index ca82292f2ffed7e86cc2246667ed17ff0313bdcd..8f7114168cbddf9b2faa4b6333ae2f82d4f50991 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -91,7 +91,7 @@ protected: |
if (!texture) { |
return; |
} |
- SkAutoUnref au(texture); |
+ SkAutoTUnref<GrTexture> au(texture); |
GrContext::AutoClip acs(ctx, SkRect::MakeWH(2*S, 2*S)); |