free up picturerecorder refs after returning picture or drawable
authorreed <reed@chromium.org>
Tue, 25 Nov 2014 03:59:22 +0000 (19:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Nov 2014 03:59:23 +0000 (19:59 -0800)
commit26a6bf6a26b0e837377c876d74508aaefee72658
tree4f610389ee922da9b2ce55cc8958cf99d69da4b8
parentafa278e250034186497722b1bc49ced885770249
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
include/core/SkPictureRecorder.h
src/core/SkPictureRecorder.cpp