Low-hanging optimization for ITextRangeProvider::GetChildren
|LowestCommonAnchor| is always cheaper than |LowestCommonAncestor| when the ancestor position data is not needed. AXPlatformNodeTextRangeProviderWin::GetChildren does not use the position information, all information is available on the AXNode from calling |LowestCommonAnchor|. Bug: 928948 Change-Id: I48075202dca0172bfd6deea9188d3d636f996ac2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815224 Commit-Queue: Adam Ettenberger <adettenb@microsoft.com> Reviewed-by:Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/master@{#699033}
Showing
Please register or sign in to comment