aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ReadWriteAlphaTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-07-21 14:24:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-21 14:24:01 -0700
commitdcabb05113a732636691abc16d643a091336aea5 (patch)
treeeec7d857f242aa1a754cb12e0b03f1675edbe330 /tests/ReadWriteAlphaTest.cpp
parentb0a46413e41020006b9e5f0233474821cbb53ab3 (diff)
Make GrCacheable implement its own ref counting.
R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/392333008
Diffstat (limited to 'tests/ReadWriteAlphaTest.cpp')
-rw-r--r--tests/ReadWriteAlphaTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
index 5df1ab395f..06ede48afd 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) {