[Webkit-unassigned] [Bug 66488] New: [chromium] Leaking SkBitmaps for background images
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 18 11:16:44 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66488
Summary: [chromium] Leaking SkBitmaps for background images
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tonyg at chromium.org
CC: mnaganov at chromium.org, jamesr at chromium.org,
satish at chromium.org
It appears that images used as background images will never be collected for the lifetime of a renderer.
One problem is that NativeImageSkia is a SkBitmap, but SkBitmap's dtor isn't virtual. So we leak fields like the m_resizedImage SkBitmap.
However, just making SkBitmaps dtor virtual doesn't seem to fix the problem. There is something else going on w/ the assignment operator or copy constructors that I am still trying to figure out. Any other set of eyes on this would be appreciated.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list