| Index: include/core/SkPathRef.h
|
| diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h
|
| index 344e705fc3910fd872cbe32b6026f6360e138cea..f84697fc1d35a70606bd9c0cee6a908aa4dbfa60 100644
|
| --- a/include/core/SkPathRef.h
|
| +++ b/include/core/SkPathRef.h
|
| @@ -36,7 +36,7 @@ class SkWBuffer;
|
| * logical verb or the last verb in memory).
|
| */
|
|
|
| -class SK_API SkPathRef : public ::SkRefCnt {
|
| +class SK_API SkPathRef final : public SkNVRefCnt<SkPathRef> {
|
| public:
|
| class Editor {
|
| public:
|
| @@ -243,7 +243,7 @@ public:
|
| */
|
| static void Rewind(SkAutoTUnref<SkPathRef>* pathRef);
|
|
|
| - virtual ~SkPathRef();
|
| + ~SkPathRef();
|
| int countPoints() const { SkDEBUGCODE(this->validate();) return fPointCnt; }
|
| int countVerbs() const { SkDEBUGCODE(this->validate();) return fVerbCnt; }
|
| int countWeights() const { SkDEBUGCODE(this->validate();) return fConicWeights.count(); }
|
| @@ -543,7 +543,6 @@ private:
|
|
|
| friend class PathRefTest_Private;
|
| friend class ForceIsRRect_Private; // unit test isRRect
|
| - typedef SkRefCnt INHERITED;
|
| };
|
|
|
| #endif
|
|
|