remove dead AutoValidator
git-svn-id: http://skia.googlecode.com/svn/trunk@9729 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 36dd304..40be531 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -461,18 +461,9 @@
#include "SkColorPriv.h"
-class AutoValidator {
-public:
- AutoValidator(SkDevice* device) : fDevice(device) {}
-
-private:
- SkDevice* fDevice;
-};
-
////////// macros to place around the internal draw calls //////////////////
#define LOOPER_BEGIN_DRAWDEVICE(paint, type) \
-/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \
AutoDrawLooper looper(this, paint, true); \
while (looper.next(type)) { \
@@ -480,7 +471,6 @@
SkDrawIter iter(this);
#define LOOPER_BEGIN(paint, type) \
-/* AutoValidator validator(fMCRec->fTopLayer->fDevice); */ \
this->predrawNotify(); \
AutoDrawLooper looper(this, paint); \
while (looper.next(type)) { \
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp
index a800fb1..0d9cf2b 100644
--- a/tests/GpuBitmapCopyTest.cpp
+++ b/tests/GpuBitmapCopyTest.cpp
@@ -118,8 +118,8 @@
return;
}
static const Pair gPairs[] = {
- { SkBitmap::kNo_Config, "000" },
- { SkBitmap::kARGB_8888_Config, "011" },
+ { SkBitmap::kNo_Config, "00" },
+ { SkBitmap::kARGB_8888_Config, "01" },
};
const int W = 20;