Bug 1845797 - Remove reload-default-prefs observer notification. r=nalexander

Differential Revision: https://phabricator.services.mozilla.com/D199673
This commit is contained in:
Richard Cole 2024-01-29 18:22:26 +00:00
parent 5a4700e141
commit adf3365de4

View File

@ -3940,10 +3940,6 @@ Preferences::Observe(nsISupports* aSubject, const char* aTopic,
MOZ_ASSERT(!mDirty, "Preferences should not be dirty");
mProfileShutdown = true;
} else if (!nsCRT::strcmp(aTopic, "reload-default-prefs")) {
// Reload the default prefs from file.
Unused << InitInitialObjects(/* isStartup */ false);
} else if (!nsCRT::strcmp(aTopic, "suspend_process_notification")) {
// Our process is being suspended. The OS may wake our process later,
// or it may kill the process. In case our process is going to be killed