forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure BrowserAccessibility::Platform* methods have the same children
BrowserAccessibility::PlatformChildCount considers BrowserAccessibility::IsLeaf() as having 0 children while BrowserAccessibility::PlatformGetFirstChild (via BrowserAccessibility::PlatformGetChild) BrowserAccessibility::PlatformGetLastChild do not. Make this consistent by having Platform[First|Last]Child check that PlatformChildCount is 0 and return nullptr accordingly. Change-Id: I81d1535bf658642ed9f6c8dc9e7f00a5ba38bdd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3574854 Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Commit-Queue: David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/main@{#991087}
- Loading branch information
1 parent
1e6cd10
commit 15db761
Showing
5 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters