Index: tools/get_images_from_skps.cpp |
diff --git a/tools/get_images_from_skps.cpp b/tools/get_images_from_skps.cpp |
index 7d0854d4d4d574359d79e99aa90dcd247f606848..e6bb6e2012190698ebda8359826f7d36be275861 100644 |
--- a/tools/get_images_from_skps.cpp |
+++ b/tools/get_images_from_skps.cpp |
@@ -90,7 +90,7 @@ int main(int argc, char** argv) { |
for (SkString file; iter.next(&file); ) { |
SkAutoTDelete<SkStream> stream = |
SkStream::NewFromFile(SkOSPath::Join(inputs, file.c_str()).c_str()); |
- SkAutoTUnref<SkPicture> picture(SkPicture::CreateFromStream(stream)); |
+ sk_sp<SkPicture> picture(SkPicture::MakeFromStream(stream)); |
SkDynamicMemoryWStream scratch; |
Sniffer sniff; |