commit | a0dd433fb765b165998fdda152307640d9ffff64 | [log] [tgz] |
---|---|---|
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Nov 02 20:51:19 2012 +0000 |
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Nov 02 20:51:19 2012 +0000 |
tree | c57f74592d1539278875556b5674590192aa5340 | |
parent | bc7f7b134d013466fc237434468d758c7d025e99 [diff] |
When cloning into an SkPicture, clear its data. Prevents a memory leak if the caller clones into an SkPicture that already has a playback or record. Review URL: https://codereview.appspot.com/6813081 git-svn-id: http://skia.googlecode.com/svn/trunk/src@6282 2bbb7eff-a529-9590-31e7-b0007b416f81