| Index: tests/SerializationTest.cpp
|
| diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp
|
| index cd5bc6057415b0cbddcef7aab880cf3032cab704..f6a8a7d5fc48d0b06f63fff33f512bb4c1630146 100644
|
| --- a/tests/SerializationTest.cpp
|
| +++ b/tests/SerializationTest.cpp
|
| @@ -350,7 +350,7 @@ static void TestPictureTypefaceSerialization(skiatest::Reporter* reporter) {
|
| // Serlialize picture and create its clone from stream.
|
| SkDynamicMemoryWStream stream;
|
| picture->serialize(&stream);
|
| - SkAutoTUnref<SkStream> inputStream(stream.detachAsStream());
|
| + SkAutoTDelete<SkStream> inputStream(stream.detachAsStream());
|
| SkAutoTUnref<SkPicture> loadedPicture(SkPicture::CreateFromStream(inputStream.get()));
|
|
|
| // Draw both original and clone picture and compare bitmaps -- they should be identical.
|
|
|