commit | fc86fec657e0d2b30c81d0d1bd80372c7ff19273 | [log] [tgz] |
---|---|---|
author | Peter Kasting <pkasting@chromium.org> | Tue May 21 20:43:47 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 21 20:43:47 2019 |
tree | 52cbeec4f17f3ff85f12ec6d977933f636474ebf | |
parent | c99ea55878f8d4129b64ee1a7625006878c22b76 [diff] |
Expose TreeNode::children() publicly and use it to remove empty(). Since the public getter is const, this converts BookmarkModel (which was using a non-const getter) to use direct member access, with a friend declaration. Filed bug 965314 about cleaning this up. This also converts/comments the rest of tree_node_model.h in preparation for removing child_count() and GetChild(). Bug: 956419 Change-Id: I28152e15ee380ada61a2668ab38bb53f25771b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621027 Reviewed-by: Marc Treib <treib@chromium.org> Reviewed-by: Rohit Rao <rohitrao@chromium.org> Reviewed-by: Theresa <twellington@chromium.org> Reviewed-by: Tommy Li <tommycli@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Ilya Sherman <isherman@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#661887}
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 .