Fix BUG=chromium:664036

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4659

Change-Id: Idac00fef9cac023649a50d9c70d107f988fd2510
Reviewed-on: https://skia-review.googlesource.com/4659
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2016-11-10 12:24:16 -05:00 committed by Skia Commit-Bot
parent 970225b2ba
commit 805eb6c777

View File

@ -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;