Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index 49212df416d8d639b143e7580fd9f507d33e2395..53782a77043e07b592b68e90b548e30fae7a04d8 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -109,7 +109,7 @@ void GrGpuResource::setUniqueKey(const GrUniqueKey& key) { |
void GrGpuResource::notifyAllCntsAreZero(CntType lastCntTypeToReachZero) const { |
if (this->wasDestroyed()) { |
// We've already been removed from the cache. Goodbye cruel world! |
- SkDELETE(this); |
+ delete this; |
return; |
} |