Add a TabStyleHighlightPathGenerator to Tab
Replaces probably a significant amount of path updates in ::OnBoundsChanged override (which this change also removes). This might reduce some jank in the tab strip while opening tabs or resizing windows, though it's unclear whether it amounts to a significant chunk of work as a fraction of total work here. Bug: chromium:1007546 Change-Id: I5aab0ce9cfcaeea2bec80f994d0586e588ff977e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1861044 Auto-Submit: Peter Boström <pbos@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#705971}
Showing
Please register or sign in to comment