DescriptionFix memory leak of "screen size bitmap" (e.g. 1.5M if 750x548)
that happened on *every page view* on OSX.
VSIZE/RSIZE now hovers around 500M/30M instead of growing to 1.3G/260M
within a few minutes.
Surprisingly, Chromium.app seems quite a bit snappier!
The essence of the change is that SkBitmap::setPixels() does NOT take
ownership of the pointer, whereas SkBitmap::allocPixels() both
allocates and owns.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11196
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #
Messages
Total messages: 2 (0 generated)
|