Index: include/gpu/GrRenderTarget.h |
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h |
index 6a3f26fe702afdad936681bc5876207fbd66299f..4c5ec182118212db1eba1dff0ab75b9002f3b590 100644 |
--- a/include/gpu/GrRenderTarget.h |
+++ b/include/gpu/GrRenderTarget.h |
@@ -162,7 +162,7 @@ private: |
friend class GrTexture; |
// called by ~GrTexture to remove the non-ref'ed back ptr. |
void owningTextureDestroyed() { |
- SkASSERT(NULL != fTexture); |
+ SkASSERT(fTexture); |
fTexture = NULL; |
} |