[Switch Access] Simplify node construction
All calls to connectChildren were immediately followed by a call to setChildren, so I combined them, along with several other readability changes. This change is a pure refactor. Bug: None Change-Id: If340c812127d95412939977a12f247203da07d86 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902516 Commit-Queue: Anastasia Helfinstein <anastasi@google.com> Reviewed-by:Chris Hall <chrishall@chromium.org> Cr-Commit-Position: refs/heads/master@{#714970}
Showing
Please register or sign in to comment