Index: tests/ReadWriteAlphaTest.cpp |
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp |
index 5df1ab395fe89c69b88c14435ad112e808e43022..06ede48afdee8400f9336941932da42b7bcce87a 100644 |
--- a/tests/ReadWriteAlphaTest.cpp |
+++ b/tests/ReadWriteAlphaTest.cpp |
@@ -45,7 +45,7 @@ DEF_GPUTEST(ReadWriteAlpha, reporter, factory) { |
return; |
} |
- SkAutoUnref au(texture); |
+ SkAutoTUnref<GrTexture> au(texture); |
// create a distinctive texture |
for (int y = 0; y < Y_SIZE; ++y) { |