DescriptionOptimize / clean up hasTagName() call sites
Optimize / clean up hasTagName() call sites so that they call when possible
and in this order:
- HTMLElement::hasTagName(HTMLQualifiedName) / SVGElement::hasTagName(SVGQualifiedName)
- Node::hasTagName(HTMLQualifiedName) / Node::hasTagName(SVGQualifiedName)
- Element::hasTagName(QualifiedName)
Also use isHTML*Element() helpers in a couple of places to improve readability.
This is a follow-up to:
https://src.chromium.org/viewvc/blink?view=rev&revision=178540
R=abarth@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178581
Patch Set 1 #Messages
Total messages: 5 (0 generated)
|