Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
This commit is contained in:
@@ -47,7 +47,6 @@ PLDHashTableOps nsCommandParams::sHashOps =
|
||||
{
|
||||
PL_DHashAllocTable,
|
||||
PL_DHashFreeTable,
|
||||
HashGetKey,
|
||||
HashKey,
|
||||
HashMatchEntry,
|
||||
HashMoveEntry,
|
||||
@@ -354,14 +353,6 @@ nsCommandParams::GetOrMakeEntry(const char * name, PRUint8 entryType, HashEntry*
|
||||
#pragma mark -
|
||||
#endif
|
||||
|
||||
const void *
|
||||
nsCommandParams::HashGetKey(PLDHashTable *table, PLDHashEntryHdr *entry)
|
||||
{
|
||||
HashEntry* thisEntry = NS_STATIC_CAST(HashEntry*, entry);
|
||||
return (void *)thisEntry->mEntryName.get();
|
||||
}
|
||||
|
||||
|
||||
PLDHashNumber
|
||||
nsCommandParams::HashKey(PLDHashTable *table, const void *key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user