Bug 1435927 - Remove NS_PREFSERVICE_RESET_TOPIC_ID. r=glandium

It's unused.

MozReview-Commit-ID: Hhx4MhIVyzQ

--HG--
extra : rebase_source : 8d535d85c9e0d68805150f4e80f7083f6c287f0a
This commit is contained in:
Nicholas Nethercote 2018-02-06 13:57:35 +11:00
Родитель f2cc57de76
Коммит 44fe31326e
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -3088,8 +3088,6 @@ Preferences::ResetPrefs()
{
ENSURE_PARENT_PROCESS("Preferences::ResetPrefs", "all prefs");
NotifyServiceObservers(NS_PREFSERVICE_RESET_TOPIC_ID);
gHashTable->ClearAndPrepareForLength(PREF_HASHTABLE_INITIAL_LENGTH);
gPrefNameArena.Clear();

Просмотреть файл

@ -130,12 +130,6 @@ interface nsIPrefService : nsISupports
*/
#define NS_PREFSERVICE_READ_TOPIC_ID "prefservice:before-read-userprefs"
/**
* Notification sent when resetPrefs has been called, but before the actual
* reset process occurs.
*/
#define NS_PREFSERVICE_RESET_TOPIC_ID "prefservice:before-reset"
/**
* Notification sent when after reading app-provided default
* preferences, but before user profile override defaults are loaded.