Use SkNVRefCnt for a couple common types.
authormtklein <mtklein@chromium.org>
Tue, 9 Aug 2016 19:20:04 +0000 (12:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Aug 2016 19:20:04 +0000 (12:20 -0700)
commitb47cd4b3d6daad037651daa20fae6770285966d6
treed8d65e6eb94141545a87bdf0bbbab3a923fe10a7
parentc0fc9d63569fe9bf6cd10fb028d0a0606278c2da
Use SkNVRefCnt for a couple common types.

These types are ref-counted, but don't otherwise need a vtable.
This makes them good candidates for SkNVRefCnt.

Destruction can be a little more direct, and if nothing else,
sizeof(T) will get a little smaller by dropping the vptr.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2232433002

Review-Url: https://codereview.chromium.org/2232433002
include/core/SkData.h
include/core/SkPathRef.h
include/core/SkTextBlob.h
src/core/SkPathRef.cpp