Bug 1120476 (part 2) - Avoid using PLDHashTable::data in nsCommandParams. r=froydnj.

This commit is contained in:
Nicholas Nethercote
2015-01-13 16:40:47 -08:00
parent b45ba964a4
commit e50b60e3c8

View File

@@ -40,8 +40,7 @@ nsCommandParams::~nsCommandParams()
nsresult
nsCommandParams::Init()
{
PL_DHashTableInit(&mValuesHash, &sHashOps, (void *)this,
sizeof(HashEntry), 2);
PL_DHashTableInit(&mValuesHash, &sHashOps, nullptr, sizeof(HashEntry), 2);
return NS_OK;
}