aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texdata.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 /gm/texdata.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 'gm/texdata.cpp')
-rw-r--r--gm/texdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index ca82292f2f..8f7114168c 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));