DescriptionRemove inefficiency from HTMLCollection::namedItems()
Remove inefficiency from HTMLCollection::namedItems(). The code was
unnecessarily checking that the pointers were non-null for every iteration of
the for loops. This CL updates the code so that the null check is done only
once.
R=esprehn@chromium.org, adamk@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176247
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|