DescriptionAvoid calling slower Node::firstChild() / Node::lastChild() when possible
Avoid calling slower Node::firstChild() / Node::lastChild() when possible by
using tighter typing. This way, we end up using ContainerNode::firstChild() /
ContainerNode::lastChild(), bypassing a useless isContainerNode() check.
R=eseidel@chromium.org, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175524
Patch Set 1 #
Total comments: 7
Patch Set 2 : Address review comments #Patch Set 3 : Rebase #
Messages
Total messages: 11 (0 generated)
|