Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index a81733e38af2f443685795ca6e49e12a1f1cbaf1..1575456491fa69ba85aaea2e1d99f05395f34aff 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -851,9 +851,8 @@ |
SkAutoTUnref<SkPicture> picture(recorder.endRecording()); |
SkDynamicMemoryWStream wStream; |
- SkAutoTUnref<SkPixelSerializer> serializer( |
- SkImageEncoder::CreatePixelSerializer()); |
- picture->serialize(&wStream, serializer); |
+ sk_tool_utils::PngPixelSerializer serializer; |
+ picture->serialize(&wStream, &serializer); |
return wStream.copyToData(); |
} |