Timeline
Nov 14, 2004:
- 9:18 PM Changeset in webkit [8002] by
-
- 2 edits in trunk/WebCore
Reviewed by mjs.
fixed: <rdar://problem/3823038> LEAK: huge leak in DOM::HTMLElementImpl::createContextualFragment(DOM::DOMString const&, bool)
- khtml/html/html_elementimpl.cpp: (HTMLElementImpl::setInnerHTML): uses the ref counting system to deallocate fragments instead of explicitly invoking a destructor. (HTMLElementImpl::setOuterHTML): function is responsible for derefing the fragment prior to returning. Now it does.
Nov 13, 2004:
- 6:07 PM Changeset in webkit [8001] by
-
- 6 edits in trunk/WebCore
Reviewed by Kevin.
<rdar://problem/3878766> VIP: Program listings pages at directv.com takes 75% of time traversing NodeLists
- khtml/dom/dom_node.cpp: (NodeList::itemById): New method, just forward to impl.
- khtml/dom/dom_node.h: Prototype it.
- khtml/ecma/kjs_dom.cpp: (DOMNodeList::tryGet): Instead of looping over the whole list to do by-id access, let the NodeList do it. The NodeList might be able to do it more efficiently.
- khtml/xml/dom_nodeimpl.cpp: (NodeListImpl::itemById): Optimize for the case where the NodeList covers the whole document. In this case, just use getElementById, then check that the element satisfies the list criteria. (ChildNodeListImpl::nodeMatches): Return true only if the node is our child. (TagNodeListImpl::TagNodeListImpl): Irrelevant change to reformat initializers.
- khtml/xml/dom_nodeimpl.h:
Note:
See TracTimeline
for information about the timeline view.