RESOLVED FIXED 74096
Remove EventListenerMap destructor.
https://bugs.webkit.org/show_bug.cgi?id=74096
Summary Remove EventListenerMap destructor.
Andreas Kling
Reported 2011-12-08 08:40:52 PST
Now that the internal HashMap stores OwnPtrs it will clean up itself, so we can let the compiler generate ~EventListenerMap().
Attachments
Patch (1.66 KB, patch)
2011-12-08 09:18 PST, Andreas Kling
darin: review+
Andreas Kling
Comment 1 2011-12-08 09:18:28 PST
Darin Adler
Comment 2 2011-12-08 10:06:22 PST
Comment on attachment 118404 [details] Patch I think the no iterator assert is pretty superfluous anyway. The hash map iterators already do assertions like that and our iterator is built on hash map iterators. We might want to double check that the hash map iterator checks are thorough enough and remove this extra code for EventListenerIterator.
Andreas Kling
Comment 3 2011-12-08 10:50:52 PST
Note You need to log in before you can comment on or make changes to this bug.