DescriptionWatch the preferences for changes per profile instead of per tab.
PrefsTabHelper was watching > 1K prefs so that it could update the renderer side data structures when they change. When session restore was used and it had 50 tabs, this would take almost a second on a Z620. Switch this to watching these prefs once per profile instead.
BUG=452693
Committed: https://crrev.com/d9bb3b780aad1d1672b6574069ae8fab35319bc7
Cr-Commit-Position: refs/heads/master@{#313573}
Patch Set 1 #
Total comments: 8
Patch Set 2 : review nits #
Messages
Total messages: 12 (4 generated)
|