Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg

This commit is contained in:
Robert O'Callahan
2013-09-02 20:41:57 +12:00
parent 6e1be50ee9
commit 51222bdd45
260 changed files with 628 additions and 1445 deletions

View File

@@ -67,9 +67,9 @@ static mozilla::LinkedList<nsHtml5TreeOpExecutor>* gBackgroundFlushList = nullpt
static nsITimer* gFlushTimer = nullptr;
nsHtml5TreeOpExecutor::nsHtml5TreeOpExecutor(bool aRunsToCompletion)
: mPreloadedURLs(23) // Mean # of preloadable resources per page on dmoz
{
mRunsToCompletion = aRunsToCompletion;
mPreloadedURLs.Init(23); // Mean # of preloadable resources per page on dmoz
// zeroing operator new for everything else
}