Bug 850637 - Make nsIOService properly pick-up user-specified network.buffer.cache.* preferences. r=honzab

This commit is contained in:
Gabriele Svelto 2013-03-14 16:05:54 +01:00
parent 898385c758
commit 2648b6a9ce

View File

@ -192,6 +192,8 @@ nsIOService::Init()
prefBranch->AddObserver(PORT_PREF_PREFIX, this, true); prefBranch->AddObserver(PORT_PREF_PREFIX, this, true);
prefBranch->AddObserver(AUTODIAL_PREF, this, true); prefBranch->AddObserver(AUTODIAL_PREF, this, true);
prefBranch->AddObserver(MANAGE_OFFLINE_STATUS_PREF, this, true); prefBranch->AddObserver(MANAGE_OFFLINE_STATUS_PREF, this, true);
prefBranch->AddObserver(NECKO_BUFFER_CACHE_COUNT_PREF, this, true);
prefBranch->AddObserver(NECKO_BUFFER_CACHE_SIZE_PREF, this, true);
PrefsChanged(prefBranch); PrefsChanged(prefBranch);
} }