From 97466ab03e025b6edd94c4f0f369cd0b0d8c3319 Mon Sep 17 00:00:00 2001 From: mtklein Date: Mon, 7 Dec 2015 13:37:00 -0800 Subject: [PATCH] fix funky formatting in SkNVRefCnt BUG=skia: TBR=reed@google.com No API change. Review URL: https://codereview.chromium.org/1505023002 --- include/core/SkRefCnt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }