Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: src/gpu/GrGpuResourceCacheAccess.h

Issue 1316123003: Style Change: SkNEW->new; SkDELETE->delete (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-26 (Wednesday) 15:59:00 EDT Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrGpuResource.cpp ('k') | src/gpu/GrLayerCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « src/gpu/GrGpuResource.cpp ('k') | src/gpu/GrLayerCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698