DescriptionGet rid of unnecessary isChildNodeList() virtual call in clearChildNodeListCache()
This CL inlines clearChildNodeListCache() in the caller as there is only one to
avoid an unnecessary isChildNodeList() virtual call. The calling method is
invalidateNodeListCachesInAncestors(), which this CL moves from Node to
ContainerNode to make sure it is only called for ContainerNodes (Only
ContainerNodes' node lists have caches that need invalidation).
R=adamk@chromium.org, esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179056
Patch Set 1 #
Total comments: 2
Patch Set 2 : Second proposal #
Messages
Total messages: 9 (0 generated)
|