DescriptionSkWriter32: throw in the SkTDArray towel.
I think it's looking more clear we don't have a clean way to use SkTDArray in
SkWriter32. We can't give SkWriter32 meaningful control over SkTDArray's
reallocation without making moot SkTDArray's raison d'etre.
Let's just use an SkAutoTMalloc<uint8_t> instead. It wants SkWriter32 to
control it. Also, it's lower overhead: SkAutoTMalloc<uint8_t> is just a smart
poiter: no size or capacity stored.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=13436
Patch Set 1 #Patch Set 2 : Clean up scars in SkTDArray. #
Messages
Total messages: 11 (0 generated)
|