From 21027994192f395bbd1507558b84f59b3c7cf0da Mon Sep 17 00:00:00 2001 From: scroggo Date: Thu, 2 Apr 2015 13:22:38 -0700 Subject: Test SkCodec to kIndex8 in nanobench. BUG=skia:3257 BUG=skia:3475 Review URL: https://codereview.chromium.org/1051973002 --- bench/CodecBench.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/CodecBench.h') diff --git a/bench/CodecBench.h b/bench/CodecBench.h index 2bc4ba9a6f..0675cca22a 100644 --- a/bench/CodecBench.h +++ b/bench/CodecBench.h @@ -9,7 +9,6 @@ #define CodecBench_DEFINED #include "Benchmark.h" -#include "SkBitmap.h" #include "SkData.h" #include "SkImageInfo.h" #include "SkRefCnt.h" @@ -33,7 +32,8 @@ private: SkString fName; const SkColorType fColorType; SkAutoTUnref fData; - SkBitmap fBitmap; + SkImageInfo fInfo; // Set in onPreDraw. + SkAutoMalloc fPixelStorage; typedef Benchmark INHERITED; }; #endif // CodecBench_DEFINED -- cgit v1.2.3