diff options
author | mtklein <mtklein@chromium.org> | 2014-11-21 11:13:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-21 11:13:15 -0800 |
commit | 04038eba9f4e09724031c69146699f9c6e15748e (patch) | |
tree | 468020c0cd0a00912ff97826fdcb5ed335a855a3 /include | |
parent | b7ee349f108040fbd5cb71d891d5b74a1843b0bc (diff) |
public SkNVRefCnt<SnapshotArray>
Should fix broken build.
NOTRY=true
TBR=reed@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/748143002
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPicture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h index ea3db8e7d1..d5c07a37d3 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(); } } |