aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkPictureRecord.h')
-rw-r--r--src/core/SkPictureRecord.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPictureRecord.h b/src/core/SkPictureRecord.h
index b4920e37bb..7e5c5c6410 100644
--- a/src/core/SkPictureRecord.h
+++ b/src/core/SkPictureRecord.h
@@ -88,8 +88,8 @@ public:
return fWriter.snapshotAsData();
}
- SkPathHeap* pathHeap() {
- return fPathHeap;
+ const SkPathHeap* pathHeap() const {
+ return fPathHeap.get();
}
const SkPictureContentInfo& contentInfo() const {