Index: tools/dump_record.cpp |
diff --git a/tools/dump_record.cpp b/tools/dump_record.cpp |
index 96b893735b1a0f45de23414fb6d49af203849980..029638efb100d523ac8ab1c8916af25cccc8a2b6 100644 |
--- a/tools/dump_record.cpp |
+++ b/tools/dump_record.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "DumpRecord.h" |
+#include "LazyDecodeBitmap.h" |
#include "SkCommandLineFlags.h" |
#include "SkPicture.h" |
#include "SkPictureRecorder.h" |
@@ -49,7 +50,8 @@ |
SkDebugf("Could not read %s.\n", FLAGS_skps[i]); |
return 1; |
} |
- SkAutoTUnref<SkPicture> src(SkPicture::CreateFromStream(stream)); |
+ SkAutoTUnref<SkPicture> src( |
+ SkPicture::CreateFromStream(stream, sk_tools::LazyDecodeBitmap)); |
if (!src) { |
SkDebugf("Could not read %s as an SkPicture.\n", FLAGS_skps[i]); |
return 1; |