remove dead AutoValidator
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jun 2013 19:05:57 +0000 (19:05 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 21 Jun 2013 19:05:57 +0000 (19:05 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@9729 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkCanvas.cpp
tests/GpuBitmapCopyTest.cpp

index 36dd304..40be531 100644 (file)
@@ -461,18 +461,9 @@ private:
 
 #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 @@ private:
         SkDrawIter          iter(this);
 
 #define LOOPER_BEGIN(paint, type)                                   \
-/*    AutoValidator   validator(fMCRec->fTopLayer->fDevice); */     \
     this->predrawNotify();                                          \
     AutoDrawLooper  looper(this, paint);                            \
     while (looper.next(type)) {                                     \
index a800fb1..0d9cf2b 100644 (file)
@@ -118,8 +118,8 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContextFactory* fa
             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;