mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1845797 - Remove reload-default-prefs observer notification. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D199673
This commit is contained in:
parent
5a4700e141
commit
adf3365de4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user