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