summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 03:45:14 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-07 03:45:14 +0000
commit61e978ad63e1963c41db50e7b9b40580391a6170 (patch)
tree470f80302d66a831d7476c6a2022d39e6813e3c5 /chrome/common
parentc3e68d707ba949bba46594a91a2d30fdd18985e1 (diff)
downloadchromium_src-61e978ad63e1963c41db50e7b9b40580391a6170.zip
chromium_src-61e978ad63e1963c41db50e7b9b40580391a6170.tar.gz
chromium_src-61e978ad63e1963c41db50e7b9b40580391a6170.tar.bz2
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, 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. Review URL: http://codereview.chromium.org/39307 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
0 files changed, 0 insertions, 0 deletions