Index: src/gpu/gl/GrGLRenderTarget.cpp |
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp |
index 6143f34b954d502e874d6e1e5e58cfb4fe1ff344..49186bf3b3e0e120ceac8c3ba140b3d56ccbbd68 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.cpp |
+++ b/src/gpu/gl/GrGLRenderTarget.cpp |
@@ -53,8 +53,8 @@ GrGLRenderTarget::GrGLRenderTarget(GrGpuGL* gpu, |
viewport.fWidth, viewport.fHeight, |
desc.fConfig, desc.fSampleCnt, |
desc.fOrigin)) { |
- SkASSERT(NULL != texID); |
- SkASSERT(NULL != texture); |
+ SkASSERT(texID); |
+ SkASSERT(texture); |
// FBO 0 can't also be a texture, right? |
SkASSERT(0 != desc.fRTFBOID); |
SkASSERT(0 != desc.fTexFBOID); |
@@ -102,7 +102,7 @@ void GrGLRenderTarget::onAbandon() { |
fRTFBOID = 0; |
fTexFBOID = 0; |
fMSColorRenderbufferID = 0; |
- if (NULL != fTexIDObj.get()) { |
+ if (fTexIDObj.get()) { |
fTexIDObj->abandon(); |
fTexIDObj.reset(NULL); |
} |