Index: tools/bench_pictures_main.cpp |
diff --git a/tools/bench_pictures_main.cpp b/tools/bench_pictures_main.cpp |
index 720621ec9a05ff870b466e152173267b1543d089..a6beaefa790e3350fe409ddb62560522a286738b 100644 |
--- a/tools/bench_pictures_main.cpp |
+++ b/tools/bench_pictures_main.cpp |
@@ -7,11 +7,11 @@ |
#include "BenchTimer.h" |
#include "CopyTilesRenderer.h" |
+#include "LazyDecodeBitmap.h" |
#include "PictureBenchmark.h" |
#include "PictureRenderingFlags.h" |
#include "SkBenchLogger.h" |
#include "SkCommandLineFlags.h" |
-#include "SkForceLinking.h" |
#include "SkGraphics.h" |
#include "SkImageDecoder.h" |
#if LAZY_CACHE_STATS |
@@ -24,8 +24,6 @@ |
#include "SkStream.h" |
#include "picture_utils.h" |
-__SK_FORCE_IMAGE_DECODER_LINKING; |
- |
SkBenchLogger gLogger; |
// Flags used by this file, in alphabetical order. |
@@ -175,7 +173,7 @@ static bool run_single_benchmark(const SkString& inputPath, |
SkPicture::InstallPixelRefProc proc; |
if (FLAGS_deferImageDecoding) { |
- proc = &lazy_decode_bitmap; |
+ proc = &LazyDecodeBitmap; |
} else { |
proc = &SkImageDecoder::DecodeMemory; |
} |