Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index 46b039d1647df1536fdc22ef8ca1b23a8a6f0103..3eb1247800fb4aad9f0ed80af565471ec410fa67 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -1039,7 +1039,7 @@ |
static SkPicture* stream_to_new_picture(const SkPicture& src) { |
SkDynamicMemoryWStream storage; |
- src.serialize(&storage); |
+ src.serialize(&storage, NULL); |
SkAutoTUnref<SkStreamAsset> pictReadback(storage.detachAsStream()); |
SkPicture* retval = SkPicture::CreateFromStream(pictReadback, |
&SkImageDecoder::DecodeMemory); |