DescriptionSkRecord bug fixes
Optional arguments to SkCanvas calls leaked refs (but not memory) because we
didn't destruct the optional objects (really, just SkPaint: other optional args
are all POD). This adds Optional and PODArray, where Optional makes sure to
call the destructor.
I overlooked that SkPictureRecord really does call paint.computeFastBounds().
Do the same in SkRecordDraw.
BUG=skia:2378
Committed: http://code.google.com/p/skia/source/detail?r=14197
Patch Set 1 #Patch Set 2 : add regression test for leaking refs #
Total comments: 2
Patch Set 3 : tomments #
Messages
Total messages: 7 (0 generated)
|