fix funky formatting in SkNVRefCnt
BUG=skia: TBR=reed@google.com No API change. Review URL: https://codereview.chromium.org/1505023002
This commit is contained in:
parent
b5f7d778a1
commit
97466ab03e
@ -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(); }
|
||||
|
Loading…
Reference in New Issue
Block a user