| Index: src/gpu/gl/GrGLTexture.cpp
|
| diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp
|
| index bc013bc0ec0feebc5b81d6938d4d9f90a8cc8bdd..202fc426ba97105325759c23ab7ce6c4ec1084a9 100644
|
| --- a/src/gpu/gl/GrGLTexture.cpp
|
| +++ b/src/gpu/gl/GrGLTexture.cpp
|
| @@ -24,7 +24,7 @@ void GrGLTexture::init(GrGpuGL* gpu,
|
| textureDesc.fTextureID,
|
| textureDesc.fIsWrapped)));
|
|
|
| - if (NULL != rtDesc) {
|
| + if (rtDesc) {
|
| GrGLIRect vp;
|
| vp.fLeft = 0;
|
| vp.fWidth = textureDesc.fWidth;
|
| @@ -55,7 +55,7 @@ void GrGLTexture::onRelease() {
|
| }
|
|
|
| void GrGLTexture::onAbandon() {
|
| - if (NULL != fTexIDObj.get()) {
|
| + if (fTexIDObj.get()) {
|
| fTexIDObj->abandon();
|
| fTexIDObj.reset(NULL);
|
| }
|
|
|