DescriptionHave NodeList::item() overrides return an Element* when appropriate
Have NodeList::item() overrides return an Element* when appropriate instead
of a generic Node*. This makes it clear to callers that these are actually
returning Elements and avoids unnecessary isElementNode() checks or casts
that look unsafe.
R=adamk@chromium.org, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176239
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|