Add SkNVRefCnt::deref().
TBR=reed@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/744853002
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index 9b246f4..930bf86 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -262,6 +262,7 @@
bool unique() const { return 1 == sk_acquire_load(&fRefCnt); }
void ref() const { sk_atomic_inc(&fRefCnt); }
void unref() const { if (1 == sk_atomic_dec(&fRefCnt)) { SkDELETE((const Derived*)this); } }
+ void deref() const { this->unref(); } // Chrome prefers to call deref().
private:
mutable int32_t fRefCnt;
};