Index: tools/bench_record.cpp |
diff --git a/tools/bench_record.cpp b/tools/bench_record.cpp |
index a2c354729eb1933fcd3a91a85c8318bd75e7c3ea..cc8cc0e39de1597c6a1f84af29dc9979eb5025bc 100644 |
--- a/tools/bench_record.cpp |
+++ b/tools/bench_record.cpp |
@@ -15,6 +15,7 @@ |
#include "SkString.h" |
#include "SkTileGridPicture.h" |
#include "SkTime.h" |
+#include "LazyDecodeBitmap.h" |
__SK_FORCE_IMAGE_DECODER_LINKING; |
@@ -116,7 +117,8 @@ int tool_main(int argc, char** argv) { |
failed = true; |
continue; |
} |
- 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", path.c_str()); |
failed = true; |