aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/image_pict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/image_pict.cpp')
-rw-r--r--gm/image_pict.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/image_pict.cpp b/gm/image_pict.cpp
index 7ddc84ddb3..c168bc9fb9 100644
--- a/gm/image_pict.cpp
+++ b/gm/image_pict.cpp
@@ -226,7 +226,7 @@ public:
surface->getCanvas()->translate(-100, -100);
surface->getCanvas()->drawPicture(pic);
sk_sp<SkImage> image(surface->makeImageSnapshot());
- fProxy = GrSurfaceProxy::MakeWrapped(sk_ref_sp(as_IB(image)->peekTexture()));
+ fProxy = as_IB(image)->asTextureProxyRef();
}
}
protected: