| Index: include/core/SkRefCnt.h
|
| diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
|
| index 0e8d857722d2678d8620fe923267fff82b7e197e..9d1e5f1f02c252c13c2091208903457403c0a825 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(); }
|
|
|