Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
This commit is contained in:
@@ -219,8 +219,7 @@ nsCommandParams::GetOrMakeEntry(const char* aName, uint8_t aEntryType)
|
||||
return foundEntry;
|
||||
}
|
||||
|
||||
foundEntry = static_cast<HashEntry*>(
|
||||
PL_DHashTableAdd(&mValuesHash, (void*)aName, fallible));
|
||||
foundEntry = static_cast<HashEntry*>(mValuesHash.Add((void*)aName, fallible));
|
||||
if (!foundEntry) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user