bb287074841db0a962ac0a305b4265bf4f5f7ab0
Add RunScheduledLayouts() before checking ShouldShowLargeAccentIcon() to ensure the tab strip layout is complete and the tab has correct dimensions. ShouldShowLargeAccentIcon() depends on the tab's width(), which may not be set yet if the Views layout pass hasn't run after adding the new container tab. Resolves brave/brave-browser#52824
…
…
…
…
…
…
Brave Core
Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser
Follow @brave on Twitter for important announcements.
Resources
Community
You can ask questions and interact with the community in the following locations:
- Brave Community
communitychannel on Brave Software's Slack
Languages
C++
36.9%
HTML
31.6%
Swift
9.4%
TypeScript
9%
Java
4.8%
Other
8.1%