Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1048)

Unified Diff: bench/DecodingBench.h

Issue 1051973002: Test SkCodec to kIndex8 in nanobench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove extra newline. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: bench/DecodingBench.h
diff --git a/bench/DecodingBench.h b/bench/DecodingBench.h
index 61b90a1235109443683a66762691bee456928fb0..37847b70a2ac88b098669e5777e10e1c429ec611 100644
--- a/bench/DecodingBench.h
+++ b/bench/DecodingBench.h
@@ -9,10 +9,8 @@
#define DecodingBench_DEFINED
#include "Benchmark.h"
-#include "SkBitmap.h"
#include "SkData.h"
#include "SkImageDecoder.h"
-#include "SkImageInfo.h"
#include "SkRefCnt.h"
#include "SkString.h"
@@ -36,7 +34,7 @@ private:
SkString fName;
SkColorType fColorType;
SkAutoTUnref<SkData> fData;
- SkBitmap fBitmap;
+ SkAutoMalloc fStorage;
typedef Benchmark INHERITED;
};
#endif // DecodingBench_DEFINED
« bench/CodecBench.h ('K') | « bench/CodecBench.cpp ('k') | bench/DecodingBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698