DescriptionRemove ContainerNode overload for ElementTraversal::previous()
Remove ContainerNode overload for NodeTraversal::previous() as it adds no
benefit compared to the one taking a Node in argument.
The ElementTraversal::previous() implementation calls NodeTraversal::previous()
which does not have a ContainerNode overload. The NodeTraversal::previous()
implementation calls previousSibling() and parentNode() on the argument so
having a ContainerNode overload for it wouldn't help as those operations are
fast on pure Nodes.
R=esprehn@chromium.org, adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179163
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|