DescriptionMove traverseLiveNodeListForwardToOffset() to LiveNodeList class
Move traverseLiveNodeListForwardToOffset() to LiveNodeList class and rename to
traverseForwardToOffset() for consistency with
HTMLCollection::traverseForwardToOffset(). Also merge
traverseChildNodeListForwardToOffset() into
LiveNodeList::traverseForwardToOffset() as ChildNodeList is a LiveNodeList and
there is no reason to treat it differently from the other LiveNodeList
subclasses.
Finally, rename isNodeList(CollectionType) to
isLiveNodeListType(CollectionType) as it only applies to LiveNodeLists and not
other types of NodeLists (e.g. StaticNodeList). This check is always used before
casting to a LiveNodeList.
R=abarth, esprehn, eseidel
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164468
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Rebase #
Messages
Total messages: 7 (0 generated)
|