Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in

Issue 39307: Fix memory leak of "screen size bitmap" (e.g. 1.5M if 750x548) ... (Closed)

9 years ago by John Grabowski
6 years, 9 months ago


Fix 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, 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:

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M skia/ext/ View 2 chunks +4 lines, -5 lines 0 comments Download


Total messages: 2 (0 generated)
John Grabowski
9 years ago (2009-03-07 03:29:08 UTC) #1
pink (ping after 24hrs)
9 years ago (2009-03-09 14:19:08 UTC) #2
Awesome! LGTM

Powered by Google App Engine
This is Rietveld 408576698