This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AXCoreObject::childrenIDs can be simplified and more efficient by usi…
…ng map https://bugs.webkit.org/show_bug.cgi?id=235418 Reviewed by Darin Adler. Follow-up to address Darin's comment at https://bugs.webkit.org/show_bug.cgi?id=235384#c8. No tests added because there's no behavior change. * accessibility/AccessibilityObjectInterface.h: (WebCore::AXCoreObject::childrenIDs): Use map instead of for-loop for simplicity and efficiency through map's use of uncheckedAppend and reserveInitialCapacity. Canonical link: https://commits.webkit.org/246242@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@288334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 20 additions and 6 deletions.