Index: include/gpu/GrSurface.h |
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h |
index 6087ef44b3e2d229c771835720b5e6fce334d15f..8315c63fbf4443acf8601f772b1473e841d1a285 100644 |
--- a/include/gpu/GrSurface.h |
+++ b/include/gpu/GrSurface.h |
@@ -80,11 +80,11 @@ public: |
*/ |
bool isSameAs(const GrSurface* other) const { |
const GrRenderTarget* thisRT = this->asRenderTarget(); |
- if (NULL != thisRT) { |
+ if (thisRT) { |
return thisRT == other->asRenderTarget(); |
} else { |
const GrTexture* thisTex = this->asTexture(); |
- SkASSERT(NULL != thisTex); // We must be one or the other |
+ SkASSERT(thisTex); // We must be one or the other |
return thisTex == other->asTexture(); |
} |
} |