Index: bench/BitmapRegionDecoderBench.h |
diff --git a/bench/BitmapRegionDecoderBench.h b/bench/BitmapRegionDecoderBench.h |
index 7c331aee31c51b66f4a438fb86dd27a9b7fb84ec..69588b24c38047fa43fde0e0a0e2c7a4b4ce9280 100644 |
--- a/bench/BitmapRegionDecoderBench.h |
+++ b/bench/BitmapRegionDecoderBench.h |
@@ -18,16 +18,13 @@ |
/** |
* Benchmark Android's BitmapRegionDecoder for a particular colorType, sampleSize, and subset. |
* |
- * fStrategy determines which of various implementations is to be used. |
- * |
* nanobench.cpp handles creating benchmarks for interesting scaled subsets. We strive to test |
* on real use cases. |
*/ |
class BitmapRegionDecoderBench : public Benchmark { |
public: |
// Calls encoded->ref() |
- BitmapRegionDecoderBench(const char* basename, SkData* encoded, |
- SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType, |
+ BitmapRegionDecoderBench(const char* basename, SkData* encoded, SkColorType colorType, |
uint32_t sampleSize, const SkIRect& subset); |
protected: |
@@ -40,7 +37,6 @@ private: |
SkString fName; |
SkAutoTDelete<SkBitmapRegionDecoder> fBRD; |
SkAutoTUnref<SkData> fData; |
- const SkBitmapRegionDecoder::Strategy fStrategy; |
const SkColorType fColorType; |
const uint32_t fSampleSize; |
const SkIRect fSubset; |