Index: src/gpu/GrResourceCache2.cpp |
diff --git a/src/gpu/GrResourceCache2.cpp b/src/gpu/GrResourceCache2.cpp |
index a5732f786ea48b39bc8f8431c7755609e02e2c8d..e0ba26ae83516c54d4e87937bef28607f760b64d 100644 |
--- a/src/gpu/GrResourceCache2.cpp |
+++ b/src/gpu/GrResourceCache2.cpp |
@@ -15,7 +15,7 @@ GrResourceCache2::~GrResourceCache2() { |
} |
void GrResourceCache2::insertResource(GrGpuResource* resource) { |
- SkASSERT(NULL != resource); |
+ SkASSERT(resource); |
SkASSERT(!resource->wasDestroyed()); |
SkASSERT(!this->isInCache(resource)); |
fResources.addToHead(resource); |