Index: src/gpu/gl/GrGLPathRange.cpp |
diff --git a/src/gpu/gl/GrGLPathRange.cpp b/src/gpu/gl/GrGLPathRange.cpp |
index 5295207710e234ccc0cfca2b9a121e18cb9b3e0b..48a073c096dae2c0904d23dd30bcea9e3c443864 100644 |
--- a/src/gpu/gl/GrGLPathRange.cpp |
+++ b/src/gpu/gl/GrGLPathRange.cpp |
@@ -39,7 +39,7 @@ void GrGLPathRange::initAt(size_t index, const SkPath& skPath) { |
} |
void GrGLPathRange::onRelease() { |
- SkASSERT(NULL != this->getGpu()); |
+ SkASSERT(this->getGpu()); |
if (0 != fBasePathID && !this->isWrapped()) { |
static_cast<GrGpuGL*>(this->getGpu())->glPathRendering()->deletePaths(fBasePathID, fSize); |