commit | 385fe4d4b62d7d1dd76116dd570df3290a2f487b | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Wed Aug 26 13:07:48 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Aug 26 13:07:49 2015 -0700 |
tree | 53d982ff238828331e86acd44071a44162a8688c | |
parent | 5015176adf046ef906a2313b6e6b64b72cc84898 [diff] [blame] |
Style Change: SkNEW->new; SkDELETE->delete DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
diff --git a/src/gpu/GrGpuResourceCacheAccess.h b/src/gpu/GrGpuResourceCacheAccess.h index 611d43b..8c27242 100644 --- a/src/gpu/GrGpuResourceCacheAccess.h +++ b/src/gpu/GrGpuResourceCacheAccess.h
@@ -52,8 +52,8 @@ */ void release() { fResource->release(); - if (fResource->isPurgeable()) { - SkDELETE(fResource); + if (fResource->isPurgeable()) { + delete fResource; } } @@ -62,8 +62,8 @@ */ void abandon() { fResource->abandon(); - if (fResource->isPurgeable()) { - SkDELETE(fResource); + if (fResource->isPurgeable()) { + delete fResource; } }