aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texdata.cpp
diff options
context:
space:
mode:
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 05441ac4f1..4a74468ac5 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -81,7 +81,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) {
if (!texture) {
return;
}
- SkAutoTUnref<GrTexture> au(texture);
+ sk_sp<GrTexture> au(texture);
// setup new clip
GrFixedClip clip(SkIRect::MakeWH(2*S, 2*S));