DescriptionRemove always-false null checks for getElementsByTagName(NS)
getElementsByTagNameNS is called from WebNode::getElementsByHTMLTagName,
which in turn is only called with the static kLabel ("label").
getElementsByTagName is also called internally in
getElementsByTagNameNS. Other than this, both are called from bindings.
In no case is it possible for localName to be a null AtomicString, so
these checks are not needed.
Committed: https://crrev.com/43c8760bc6f96d7a8d4c4375d9186124e1c8dc0a
Cr-Commit-Position: refs/heads/master@{#370616}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|