diff options
author | 2014-07-21 14:24:01 -0700 | |
---|---|---|
committer | 2014-07-21 14:24:01 -0700 | |
commit | dcabb05113a732636691abc16d643a091336aea5 (patch) | |
tree | eec7d857f242aa1a754cb12e0b03f1675edbe330 /gm/texdata.cpp | |
parent | b0a46413e41020006b9e5f0233474821cbb53ab3 (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.cpp | 2 |
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)); |