aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRefCnt.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-12-07 13:37:00 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-07 13:37:00 -0800
commit97466ab03e025b6edd94c4f0f369cd0b0d8c3319 (patch)
tree20be07932913d638a8bc33b377fb54f348339800 /include/core/SkRefCnt.h
parentb5f7d778a10ba70a6a3eb6eb841b540ccf03a117 (diff)
fix funky formatting in SkNVRefCnt
BUG=skia: TBR=reed@google.com No API change. Review URL: https://codereview.chromium.org/1505023002
Diffstat (limited to 'include/core/SkRefCnt.h')
-rw-r--r--include/core/SkRefCnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index 0e8d857722..9d1e5f1f02 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -218,7 +218,7 @@ public:
void unref() const {
if (1 == sk_atomic_fetch_add(&fRefCnt, -1, sk_memory_order_acq_rel)) {
SkDEBUGCODE(fRefCnt = 1;) // restore the 1 for our destructor's assert
- delete (const Derived*)this;
+ delete (const Derived*)this;
}
}
void deref() const { this->unref(); }