Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -274,14 +274,6 @@ IdAndNameMapEntry::AddIdContent(nsIContent* aContent)
|
||||
}
|
||||
|
||||
|
||||
PR_STATIC_CALLBACK(const void *)
|
||||
IdAndNameHashGetKey(PLDHashTable *table, PLDHashEntryHdr *entry)
|
||||
{
|
||||
IdAndNameMapEntry *e = NS_STATIC_CAST(IdAndNameMapEntry *, entry);
|
||||
|
||||
return NS_STATIC_CAST(const nsIAtom *, e->mKey);
|
||||
}
|
||||
|
||||
PR_STATIC_CALLBACK(PLDHashNumber)
|
||||
IdAndNameHashHashKey(PLDHashTable *table, const void *key)
|
||||
{
|
||||
@@ -407,7 +399,6 @@ nsHTMLDocument::Init()
|
||||
{
|
||||
PL_DHashAllocTable,
|
||||
PL_DHashFreeTable,
|
||||
IdAndNameHashGetKey,
|
||||
IdAndNameHashHashKey,
|
||||
IdAndNameHashMatchEntry,
|
||||
PL_DHashMoveEntryStub,
|
||||
|
||||
Reference in New Issue
Block a user