Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 6256d0d856157595b929e51fd3336cab74d5f0a7..081c0f05e17c486939d0d16083ce97890e827172 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -2,6 +2,7 @@ |
// For a high-level overview, please see dm/README. |
#include "CrashHandler.h" |
+#include "LazyDecodeBitmap.h" |
#include "SkCommonFlags.h" |
#include "SkForceLinking.h" |
#include "SkGraphics.h" |
@@ -143,7 +144,8 @@ static void kick_off_skps(const SkTArray<SkString>& skps, |
SkDebugf("Could not read %s.\n", skps[i].c_str()); |
exit(1); |
} |
- SkAutoTUnref<SkPicture> pic(SkPicture::CreateFromStream(stream.get())); |
+ SkAutoTUnref<SkPicture> pic( |
+ SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap)); |
if (pic.get() == NULL) { |
SkDebugf("Could not read %s as an SkPicture.\n", skps[i].c_str()); |
exit(1); |