| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index ea3db8e7d1cea99c1e5c606833c7be101a778af4..d5c07a37d3e717a0ffe400fc2f51b9cffc4a63a8 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -200,7 +200,7 @@ public:
|
| bool hasText() const;
|
|
|
| // A refcounted array of refcounted const SkPicture pointers.
|
| - struct SnapshotArray : public SkNVRefCnt {
|
| + struct SnapshotArray : public SkNVRefCnt<SnapshotArray> {
|
| SnapshotArray(const SkPicture* pics[], size_t count) : fPics(pics), fCount(count) {}
|
| ~SnapshotArray() { for (size_t i = 0; i < fCount; i++) { fPics[i]->unref(); } }
|
|
|
|
|