Index: src/gpu/gl/GrGpuGL.h |
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h |
index 004ce254bf1d7ced459d44cb3e1e4ead8d2ff96b..2859b43b315d1e5863accfa51c5dc22baebc6e01 100644 |
--- a/src/gpu/gl/GrGpuGL.h |
+++ b/src/gpu/gl/GrGpuGL.h |
@@ -314,7 +314,7 @@ private: |
fDefaultVertexArrayBoundIndexBufferID = false; |
fDefaultVertexArrayBoundIndexBufferIDIsValid = false; |
fDefaultVertexArrayAttribState.invalidate(); |
- if (NULL != fVBOVertexArray) { |
+ if (fVBOVertexArray) { |
fVBOVertexArray->invalidateCachedState(); |
} |
} |
@@ -342,7 +342,7 @@ private: |
if (fBoundVertexBufferIDIsValid && id == fBoundVertexBufferID) { |
fBoundVertexBufferID = 0; |
} |
- if (NULL != fVBOVertexArray) { |
+ if (fVBOVertexArray) { |
fVBOVertexArray->notifyVertexBufferDelete(id); |
} |
fDefaultVertexArrayAttribState.notifyVertexBufferDelete(id); |
@@ -353,7 +353,7 @@ private: |
id == fDefaultVertexArrayBoundIndexBufferID) { |
fDefaultVertexArrayBoundIndexBufferID = 0; |
} |
- if (NULL != fVBOVertexArray) { |
+ if (fVBOVertexArray) { |
fVBOVertexArray->notifyIndexBufferDelete(id); |
} |
} |