Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 07b615ac452b80566dffce7c103229502c1c6a8f..36dd304c3738bf54c6188571702c60a027a7708b 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -464,20 +464,7 @@ private: |
class AutoValidator { |
scroggo
2013/06/21 18:56:59
It appears this entire class can be removed - I do
reed1
2013/06/21 19:06:30
Done.
|
public: |
AutoValidator(SkDevice* device) : fDevice(device) {} |
- ~AutoValidator() { |
-#ifdef SK_DEBUG |
- const SkBitmap& bm = fDevice->accessBitmap(false); |
- if (bm.config() == SkBitmap::kARGB_4444_Config) { |
- for (int y = 0; y < bm.height(); y++) { |
- const SkPMColor16* p = bm.getAddr16(0, y); |
- for (int x = 0; x < bm.width(); x++) { |
- SkPMColor16 c = p[x]; |
- SkPMColor16Assert(c); |
- } |
- } |
- } |
-#endif |
- } |
+ |
private: |
SkDevice* fDevice; |
}; |