Index: src/gpu/GrGpuResourceCacheAccess.h |
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h |
index 611d43b9a12d8c38acc6dd5a830b48b421af9894..8c272420a7180dfe0c0f8f65d2086d89a6cefdb5 100644 |
--- a/src/gpu/GrGpuResourceCacheAccess.h |
+++ b/src/gpu/GrGpuResourceCacheAccess.h |
@@ -52,8 +52,8 @@ private: |
*/ |
void release() { |
fResource->release(); |
- if (fResource->isPurgeable()) { |
- SkDELETE(fResource); |
+ if (fResource->isPurgeable()) { |
+ delete fResource; |
} |
} |
@@ -62,8 +62,8 @@ private: |
*/ |
void abandon() { |
fResource->abandon(); |
- if (fResource->isPurgeable()) { |
- SkDELETE(fResource); |
+ if (fResource->isPurgeable()) { |
+ delete fResource; |
} |
} |