[Webkit-unassigned] [Bug 17199] ElementRareDataMap should use OwnPtr to avoid any possible leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 6 13:42:59 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17199


aroben at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aroben at apple.com




------- Comment #1 from aroben at apple.com  2008-02-06 13:42 PDT -------
(In reply to comment #0)
> ElementRareDataMap should use OwnPtr to avoid any possible leaks
> 
> Assuming this is safe,
> typedef HashMap<const Element*, ElementRareData*> ElementRareDataMap;
> 
> Should be changed to:
> typedef HashMap<const Element*, OwnPtr<ElementRareData>> ElementRareDataMap;

I'm not sure this is possible, since OwnPtr isn't copyable.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list