remove dead AutoValidator

git-svn-id: http://skia.googlecode.com/svn/trunk@9729 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-06-21 19:05:57 +00:00
parent caf20254f0
commit ea33808d32
2 changed files with 2 additions and 12 deletions

View File

@ -461,18 +461,9 @@ private:
#include "SkColorPriv.h" #include "SkColorPriv.h"
class AutoValidator {
public:
AutoValidator(SkDevice* device) : fDevice(device) {}
private:
SkDevice* fDevice;
};
////////// macros to place around the internal draw calls ////////////////// ////////// macros to place around the internal draw calls //////////////////
#define LOOPER_BEGIN_DRAWDEVICE(paint, type) \ #define LOOPER_BEGIN_DRAWDEVICE(paint, type) \
/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \ this->predrawNotify(); \
AutoDrawLooper looper(this, paint, true); \ AutoDrawLooper looper(this, paint, true); \
while (looper.next(type)) { \ while (looper.next(type)) { \
@ -480,7 +471,6 @@ private:
SkDrawIter iter(this); SkDrawIter iter(this);
#define LOOPER_BEGIN(paint, type) \ #define LOOPER_BEGIN(paint, type) \
/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \ this->predrawNotify(); \
AutoDrawLooper looper(this, paint); \ AutoDrawLooper looper(this, paint); \
while (looper.next(type)) { \ while (looper.next(type)) { \

View File

@ -118,8 +118,8 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContextFactory* fa
return; return;
} }
static const Pair gPairs[] = { static const Pair gPairs[] = {
{ SkBitmap::kNo_Config, "000" }, { SkBitmap::kNo_Config, "00" },
{ SkBitmap::kARGB_8888_Config, "011" }, { SkBitmap::kARGB_8888_Config, "01" },
}; };
const int W = 20; const int W = 20;