aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPictureRecorder.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-11-24 19:59:22 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-24 19:59:23 -0800
commit26a6bf6a26b0e837377c876d74508aaefee72658 (patch)
tree4f610389ee922da9b2ce55cc8958cf99d69da4b8 /include/core/SkPictureRecorder.h
parentafa278e250034186497722b1bc49ced885770249 (diff)
free up picturerecorder refs after returning picture or drawable
this just accelerates what would happen on the next beginRecording() call or the destructor. chrome has unittests that break (shaders on the stack) if we hold on to the internals past endRecording(). BUG=skia: TBR= Review URL: https://codereview.chromium.org/758813002
Diffstat (limited to 'include/core/SkPictureRecorder.h')
-rw-r--r--include/core/SkPictureRecorder.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 37cbe8692a..418fb324d2 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -110,7 +110,6 @@ private:
SkAutoTUnref<SkBBoxHierarchy> fBBH;
SkAutoTUnref<SkRecorder> fRecorder;
SkAutoTUnref<SkRecord> fRecord;
- SkBBHFactory* fBBHFactory;
typedef SkNoncopyable INHERITED;
};