DescriptionWe should unify various forms of tree traversal in DOM
Unifies tree-traversal methods in newer WTF::TreeNode class to reduce code
copying and ensure that traversals are as fast as possible. This is hopefully
a first step towards unifying the data structures and traversal algorithms for
Node/ContainerNode and RenderObject/RenderObjectChildList.
The plan is to eventually merge NodeTraversal.h into TreeNode.h and replace all
usage of the former with the latter. This first step is more modest in scope,
replacing only those methods that are templated and/or are copy pasted copies
between the current user of TreeNode.h -- HTMLImport -- and NodeTraversal.h.
BUG=331880
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164625
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix the unit tests and review fixes #
Total comments: 4
Patch Set 3 : Fix the comments in TreeNode.h to be more descriptive #
Total comments: 1
Messages
Total messages: 19 (0 generated)
|