diff options
Diffstat (limited to 'tests/ExifTest.cpp')
-rw-r--r-- | tests/ExifTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ExifTest.cpp b/tests/ExifTest.cpp index 4aac487064..4fed2b0db1 100644 --- a/tests/ExifTest.cpp +++ b/tests/ExifTest.cpp @@ -10,13 +10,13 @@ #include "Test.h" DEF_TEST(ExifOrientation, r) { - SkAutoTDelete<SkStream> stream(GetResourceAsStream("exif-orientation-2-ur.jpg")); + std::unique_ptr<SkStream> stream(GetResourceAsStream("exif-orientation-2-ur.jpg")); REPORTER_ASSERT(r, nullptr != stream); if (!stream) { return; } - SkAutoTDelete<SkCodec> codec(SkCodec::NewFromStream(stream.release())); + std::unique_ptr<SkCodec> codec(SkCodec::NewFromStream(stream.release())); REPORTER_ASSERT(r, nullptr != codec); SkCodec::Origin origin = codec->getOrigin(); REPORTER_ASSERT(r, SkCodec::kTopRight_Origin == origin); |