Index: dm/DMSerializeTask.cpp |
diff --git a/dm/DMSerializeTask.cpp b/dm/DMSerializeTask.cpp |
index d8b460dffbacf40929368416edf502b0dc3482dc..a3e2503c6d52e407d66758588800dd0fbe87b803 100644 |
--- a/dm/DMSerializeTask.cpp |
+++ b/dm/DMSerializeTask.cpp |
@@ -21,7 +21,7 @@ void SerializeTask::draw() { |
SkAutoTUnref<SkPicture> recorded(RecordPicture(fGM.get(), NULL/*no BBH*/)); |
SkDynamicMemoryWStream wStream; |
- recorded->serialize(&wStream, NULL); |
+ recorded->serialize(&wStream); |
SkAutoTUnref<SkStream> rStream(wStream.detachAsStream()); |
SkAutoTUnref<SkPicture> reconstructed(SkPicture::CreateFromStream(rStream)); |