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

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: fStorage -> fPixelStorage 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
« no previous file with comments | « bench/CodecBench.cpp ('k') | bench/DecodingBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/DecodingBench.h
diff --git a/bench/DecodingBench.h b/bench/DecodingBench.h
index 61b90a1235109443683a66762691bee456928fb0..a32bfeaa6eb8792f7d36326d0c73d4fc9d67ce5e 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 fPixelStorage;
typedef Benchmark INHERITED;
};
#endif // DecodingBench_DEFINED
« no previous file with comments | « bench/CodecBench.cpp ('k') | bench/DecodingBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698