commit | 10e32c0672ba494d9004bf5a32e1f45849e4148a | [log] [tgz] |
---|---|---|
author | Adithya Srinivasan <adithyas@chromium.org> | Fri Feb 02 01:18:11 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 02 01:18:11 2018 |
tree | 6719f3155bef5f19958c013ee189c07265d76b95 | |
parent | f8ad1b8866a0eacaa27ee56b57af573ac118e76f [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .