Add SetAlphaBounds, TABLE_SIZE, and MIN_ALPHA APIs (103990, r=dbaron, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@105470 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -497,7 +497,7 @@ nsFastLoadFileReader::EndMuxedDocument(nsISupports* aURI)
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
|
||||
// Shrink the table if half the entries are removed sentinels.
|
||||
PRUint32 size = PR_BIT(mFooter.mURIMap.sizeLog2);
|
||||
PRUint32 size = PL_DHASH_TABLE_SIZE(&mFooter.mURIMap);
|
||||
if (mFooter.mURIMap.removedCount >= (size >> 2))
|
||||
PL_DHashTableOperate(&mFooter.mURIMap, key, PL_DHASH_REMOVE);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user