Index: bench/CodecBench.h |
diff --git a/bench/CodecBench.h b/bench/CodecBench.h |
index a574b4c67a6e19458e1eaeb993072caf99ee26d2..b465eae36a18ea131ed3ca13ff801758dd07e9e4 100644 |
--- a/bench/CodecBench.h |
+++ b/bench/CodecBench.h |
@@ -20,7 +20,7 @@ |
class CodecBench : public Benchmark { |
public: |
// Calls encoded->ref() |
- CodecBench(SkString basename, SkData* encoded, SkColorType colorType); |
+ CodecBench(SkString basename, SkData* encoded, SkColorType colorType, SkAlphaType alphaType); |
protected: |
const char* onGetName() override; |
@@ -31,8 +31,9 @@ protected: |
private: |
SkString fName; |
const SkColorType fColorType; |
+ const SkAlphaType fAlphaType; |
SkAutoTUnref<SkData> fData; |
- SkImageInfo fInfo; // Set in onPreDraw. |
+ SkImageInfo fInfo; // Set in onDelayedSetup. |
SkAutoMalloc fPixelStorage; |
typedef Benchmark INHERITED; |
}; |