Use flat tree ancestors for selector filter
SelectorFilterParentScopes are added to the stack in the flat tree order, but the SelectorFilter were still assuming shadow-including ancestors constituted the filter stack. This fixes the performance issue in 1159206 by correctly rejecting the expensive indirect adjacent selector based on the bloom filter. Bug: 1159206 Change-Id: Iddfeb78b78567de8fa19be8c923219fa738ff303 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595379Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#837985}
Showing
Please register or sign in to comment