aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BitmapRegionDecoderBench.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-11-06 08:56:32 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-06 08:56:32 -0800
commit5cb4885b4cd1ac5eb3fc92dac5f5509d7c810464 (patch)
tree8edcbfa75ec122129136503140a85a2b55bdc6e5 /bench/BitmapRegionDecoderBench.h
parentaa4ba90792a99eed96ac51006bd478d453a751c4 (diff)
Rename SkBitmapRegionDecoder and Create function
We no longer need to worry about namespace conflicts SkBitmapRegionDecoder in Android (which we are replacing). Additionally, the static Create() function does not need to repeat the name BitmapRegionDecoder. BUG=skia: Review URL: https://codereview.chromium.org/1415243007
Diffstat (limited to 'bench/BitmapRegionDecoderBench.h')
-rw-r--r--bench/BitmapRegionDecoderBench.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/BitmapRegionDecoderBench.h b/bench/BitmapRegionDecoderBench.h
index 3f3da6cec9..7c331aee31 100644
--- a/bench/BitmapRegionDecoderBench.h
+++ b/bench/BitmapRegionDecoderBench.h
@@ -9,7 +9,7 @@
#define BitmapRegionDecoderBench_DEFINED
#include "Benchmark.h"
-#include "SkBitmapRegionDecoderInterface.h"
+#include "SkBitmapRegionDecoder.h"
#include "SkData.h"
#include "SkImageInfo.h"
#include "SkRefCnt.h"
@@ -27,7 +27,7 @@ class BitmapRegionDecoderBench : public Benchmark {
public:
// Calls encoded->ref()
BitmapRegionDecoderBench(const char* basename, SkData* encoded,
- SkBitmapRegionDecoderInterface::Strategy strategy, SkColorType colorType,
+ SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType,
uint32_t sampleSize, const SkIRect& subset);
protected:
@@ -38,9 +38,9 @@ protected:
private:
SkString fName;
- SkAutoTDelete<SkBitmapRegionDecoderInterface> fBRD;
+ SkAutoTDelete<SkBitmapRegionDecoder> fBRD;
SkAutoTUnref<SkData> fData;
- const SkBitmapRegionDecoderInterface::Strategy fStrategy;
+ const SkBitmapRegionDecoder::Strategy fStrategy;
const SkColorType fColorType;
const uint32_t fSampleSize;
const SkIRect fSubset;