| Index: chrome/browser/supervised_user/supervised_user_pref_store.cc
|
| diff --git a/chrome/browser/supervised_user/supervised_user_pref_store.cc b/chrome/browser/supervised_user/supervised_user_pref_store.cc
|
| index 088f2bc03e61b51ddf49a50f68605ab88520a40e..376bacbc9543f8f80c8af4a8b0f0906d7c5afc93 100644
|
| --- a/chrome/browser/supervised_user/supervised_user_pref_store.cc
|
| +++ b/chrome/browser/supervised_user/supervised_user_pref_store.cc
|
| @@ -70,8 +70,9 @@ SupervisedUserPrefStore::SupervisedUserPrefStore(
|
| base::Unretained(this)));
|
|
|
| // Should only be nullptr in unit tests
|
| - // TODO(peconn): Remove this notification once HostContentSettingsMap is
|
| - // a KeyedService.
|
| + // TODO(peconn): Remove this once SupervisedUserPrefStore is (partially at
|
| + // least) a KeyedService. The user_settings_subscription_ must be reset or
|
| + // destroyed before the SupervisedUserSettingsService is.
|
| if (supervised_user_settings_service->GetProfile() != nullptr){
|
| unsubscriber_registrar_.Add(this, chrome::NOTIFICATION_PROFILE_DESTROYED,
|
| content::Source<Profile>(
|
|
|