Bug 1572529 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Currently the pref `vsync.parentProcess.highPriority` is set with `BrowserTabsAutoRemoteStart` [1], and then a mirror variable `sHighPriorityPrefValue` uses the pref value. This pref doesn't appear to be used anywhere else, and it doesn't really fit the pattern of prefs. `sHighPriorityPrefValue` could probably just store the value from `BrowserTabsAutoRemoteStart` directly and use it from there.

[1] https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/layout/base/nsRefreshDriver.cpp#526
Currently the pref `vsync.parentProcess.highPriority` is set with `BrowserTabsRemoteAutoStart` [1], and then a mirror variable `sHighPriorityPrefValue` uses the pref value. This pref doesn't appear to be used anywhere else, and it doesn't really fit the pattern of prefs. `sHighPriorityPrefValue` could probably just store the value from `BrowserTabsRemoteAutoStart` directly and use it from there.

[1] https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/layout/base/nsRefreshDriver.cpp#526

Back to Bug 1572529 Comment 0