DescriptionRemove ContainerNode overload for NodeTraversal::nextSkippingChildren()
Remove ContainerNode overload for NodeTraversal::nextSkippingChildren() as it
adds no benefit compared to the one taking a Node in argument.
The nextSkippingChildren() implementation does not involves visiting the
children (and thus calling firstChild() / lastChild()). Therefore, there is no
benefit to knowing that the argument is a ContainerNode (unlike for
NodeTraversal::next()).
This CL also does the same for ElementTraversal::nextSkippingChildren().
R=esprehn@chromium.org, adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179055
Patch Set 1 #Patch Set 2 : Remove the one from ElementTraversal as well #
Messages
Total messages: 5 (0 generated)
|