DescriptionDestroy NightLightController before PrefService
NightLightController depends on the PrefService to read and write
user prefs related to NightLight. It uses a PrefChangeRegistrar to
observe changes to those prefs. PrefChangeRegistrar is not expected
to outlive the PrefService, and hence must be destroyed first.
BUG=724231
TEST=Start chrome with --mash and expects to see no crashes
NightLightController when Shell is destroyed.
Review-Url: https://codereview.chromium.org/2892983002
Cr-Commit-Position: refs/heads/master@{#473375}
Committed: https://chromium.googlesource.com/chromium/src/+/21501560f5074b5e07c397fedc09d47a0a6c5b3f
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|