[Webkit-unassigned] [Bug 75068] Make elements with attributes smaller by eliminating the reference count in NamedNodeMap
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 21 23:45:33 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=75068
--- Comment #2 from Darin Adler <darin at apple.com> 2011-12-21 23:45:33 PST ---
NamedNodeMap would no longer derive from RefCounted. Instead it would implement ref and deref like this:
void ref() { m_element->ref(); }
void deref() { m_element->deref(); }
The JavaScript bindings, and any other code for that matter, can still use a RefPtr on the NamedNodeMap, but the actual reference counting is done on the element, which is fine since the lifetimes of the two objects are tied together.
--
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