DescriptionGet rid of the overloads on templated traversal methods for clarity and safety
After careful thought, these overloads decrease clarity and safety for marginal
benefit. Because we have the dichotomy between Node and ContainerNode we do not
want to call the hidden method Node::firstChild when we pass a ContainerNode to
the traversal method and thus incur the cost of the extra check. It is best to
be explicit to decrease the likelyhood that someone will inadvertantly use the
slower hidden method when traversing.
BUG=331880
R=ch.dumez@samsung.com, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164795
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|