diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPictureRecorder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h index a440790a73..46a0093e26 100644 --- a/include/core/SkPictureRecorder.h +++ b/include/core/SkPictureRecorder.h @@ -115,7 +115,11 @@ private: uint32_t fFlags; SkRect fCullRect; sk_sp<SkBBoxHierarchy> fBBH; +#ifdef SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT + sk_sp<SkRecorder> fRecorder; +#else std::unique_ptr<SkRecorder> fRecorder; +#endif sk_sp<SkRecord> fRecord; SkMiniRecorder fMiniRecorder; |