[Webkit-unassigned] [Bug 7531] hang in SVGPolygonElementImpl::toPathData in polygon test case

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sun Mar 5 16:40:47 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7531





------- Comment #4 from darin at apple.com  2006-03-05 16:40 PDT -------
The DOMList class is a curious one, and the underlying cause of this problem.
It offers no way to iterate the list other than by index, but it's implemented
with a linked list! The name "List" makes it sound like a linked list, but it's
interface makes it more like a vector. The linked list implementation does make
remove and insert operations fast.

I think that DOMList should be changed to use a Vector. But it also might be
best to simply eliminate this class. The current implementation is very
strange. The only function in the class that does any ref/deref on the items in
the list is clear(), which calls deref on all the items in the list. That's
very strange since the deref doesn't balance anything done elsewhere in the
class. This needs to be cleaned up.


-- 
Configure bugmail: http://bugzilla.opendarwin.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