| Index: include/core/SkTextBlob.h
|
| diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h
|
| index c211f8508644d9df1a2f6b294a7a14c34d84ecb4..3c5d87359aac99a8fc3288d7a3c4ece76a940cf0 100644
|
| --- a/include/core/SkTextBlob.h
|
| +++ b/include/core/SkTextBlob.h
|
| @@ -19,7 +19,7 @@ class SkWriteBuffer;
|
|
|
| SkTextBlob combines multiple text runs into an immutable, ref-counted structure.
|
| */
|
| -class SK_API SkTextBlob : public SkRefCnt {
|
| +class SK_API SkTextBlob final : public SkNVRefCnt<SkTextBlob> {
|
| public:
|
| /**
|
| * Returns a conservative blob bounding box.
|
| @@ -52,11 +52,12 @@ public:
|
| };
|
|
|
| private:
|
| + friend class SkNVRefCnt<SkTextBlob>;
|
| class RunRecord;
|
|
|
| SkTextBlob(int runCount, const SkRect& bounds);
|
|
|
| - virtual ~SkTextBlob();
|
| + ~SkTextBlob();
|
|
|
| // Memory for objects of this class is created with sk_malloc rather than operator new and must
|
| // be freed with sk_free.
|
|
|