From 5cb4885b4cd1ac5eb3fc92dac5f5509d7c810464 Mon Sep 17 00:00:00 2001 From: msarett Date: Fri, 6 Nov 2015 08:56:32 -0800 Subject: 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 --- bench/BitmapRegionDecoderBench.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bench/BitmapRegionDecoderBench.h') 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 fBRD; + SkAutoTDelete fBRD; SkAutoTUnref fData; - const SkBitmapRegionDecoderInterface::Strategy fStrategy; + const SkBitmapRegionDecoder::Strategy fStrategy; const SkColorType fColorType; const uint32_t fSampleSize; const SkIRect fSubset; -- cgit v1.2.3