Change most kTreeScope collections to be of type kNode

All these caches only return nodes that are in the Document tree. They
only need invalidation when a changed node is in/previously in
the Document tree, so they don't need to be separately invalidated
at the Document level. They will automatically be invalidated when the
ancestors of a node are invalidated in
InvalidateNodeListCachesInAncestors, because the Document is an
ancestor.

Change-Id: I3da315c77e0afe8c82822ea25b8df8099535eded
Reviewed-on: https://chromium-review.googlesource.com/890704
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533888}
1 file changed