Index: src/utils/SkTextureCompressor_Blitter.h |
diff --git a/src/utils/SkTextureCompressor_Blitter.h b/src/utils/SkTextureCompressor_Blitter.h |
index 3d305017e233f143bc9339c005f619c97a7ee51e..0c26a7a7eb853292c8daa284ec8369fd7a14e329 100644 |
--- a/src/utils/SkTextureCompressor_Blitter.h |
+++ b/src/utils/SkTextureCompressor_Blitter.h |
@@ -309,7 +309,8 @@ public: |
virtual void blitMask(const SkMask& mask, const SkIRect& clip) SK_OVERRIDE { |
// Assumptions: |
- SkASSERT(!fBlitMaskCalled && (fBlitMaskCalled = true)); |
+ SkASSERT(!fBlitMaskCalled); |
+ SkDEBUGCODE(fBlitMaskCalled = true); |
SkASSERT(SkMask::kA8_Format == mask.fFormat); |
SkASSERT(mask.fBounds.contains(clip)); |