Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index fcef92f3155da3ca580b5ed6233183e4813e2549..9b24887ed639e8a3bfaaa3ef681318fa6a1c200f 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -83,16 +83,6 @@ protected: |
canvas->drawText(str, strlen(str), x, y, paint); |
y += paint.getFontMetrics(NULL); |
} |
- if (false) { // avoid bit rot, suppress warning |
- check_for_nonwhite(canvas->getDevice()->accessBitmap(false), fByte); |
- SkDebugf("------ byte %x\n", fByte); |
- } |
- |
- if (false) { |
- fByte += 1; |
- fByte &= 0xFF; |
- this->inval(NULL); |
- } |
} |
virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |