Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index 7c313cf41d805e4cc29eb31f2ddebc47bc1928b5..8ebac8a4b0d3a5ccd46545751187ab4b0a7e65d7 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -10,6 +10,7 @@ |
#include "SkBenchLogger.h" |
#include "SkCanvas.h" |
#include "SkGraphics.h" |
+#include "SkImageDecoder.h" |
#include "SkMath.h" |
#include "SkOSFile.h" |
#include "SkPicture.h" |
@@ -109,7 +110,7 @@ static bool run_single_benchmark(const SkString& inputPath, |
} |
bool success = false; |
- SkPicture picture(&inputStream, &success); |
+ SkPicture picture(&inputStream, &success, &SkImageDecoder::DecodeStream); |
if (!success) { |
SkString err; |
err.printf("Could not read an SkPicture from %s\n", inputPath.c_str()); |