aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-11-21 11:13:15 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-21 11:13:15 -0800
commit04038eba9f4e09724031c69146699f9c6e15748e (patch)
tree468020c0cd0a00912ff97826fdcb5ed335a855a3 /include
parentb7ee349f108040fbd5cb71d891d5b74a1843b0bc (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.h2
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(); } }