Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.

This commit is contained in:
Nicholas Nethercote
2015-09-14 14:23:12 -07:00
parent f9fdfba566
commit 3bbd89a422
39 changed files with 121 additions and 177 deletions

View File

@@ -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;
}