DescriptionAlias deref -> unref. This allows Skia objects to be held by WTF::RefPtr
smart pointers without need for another smart pointer type.
Note that the semantics of SkRefCnt match those WTF expects. In
particular, newly created objects have refcount 1 and objects are
deallocated at refcount 0.
This seems like a better fit than the AddRef/Release alises which exist
for scoped_ptr (but seem unused).
BUG=254509
Committed: http://code.google.com/p/skia/source/detail?r=9784
Patch Set 1 #
Messages
Total messages: 10 (0 generated)
|