aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/YUVTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/YUVTest.cpp')
-rw-r--r--tests/YUVTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/YUVTest.cpp b/tests/YUVTest.cpp
index d3b9167843..913997b3c3 100644
--- a/tests/YUVTest.cpp
+++ b/tests/YUVTest.cpp
@@ -15,11 +15,11 @@
static void codec_yuv(skiatest::Reporter* reporter,
const char path[],
SkISize expectedSizes[3]) {
- SkAutoTDelete<SkStream> stream(GetResourceAsStream(path));
+ std::unique_ptr<SkStream> stream(GetResourceAsStream(path));
if (!stream) {
return;
}
- SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.release()));
+ std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream.release()));
REPORTER_ASSERT(reporter, codec);
if (!codec) {
return;