fix refcount bug - as picture gets referenced by canvas when canvas is a
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Jan 2011 17:14:04 +0000 (17:14 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Jan 2011 17:14:04 +0000 (17:14 +0000)
commit0e4a885376a99f69ba8fd277193cdc1268f2dbcc
tree0fcb76fc536377f7328edc26c0a1659ceff332ea
parent9b2135a923c8344ef4c4f52907b7ffe4fc575136
fix refcount bug - as picture gets referenced by canvas when canvas is a
picture-recording canvas, so it can't live on the stack. Probably a bug:
nested pictures should probably ref some internal impl, so that callers can be
free to use the stack when they want to.

git-svn-id: http://skia.googlecode.com/svn/trunk@687 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/shapes.cpp