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

--HG--
extra : rebase_source : 892170937a41229301be81236d2517f09e20138d
This commit is contained in:
Nicholas Nethercote 2015-01-13 16:40:47 -08:00
Родитель 79c1bb81e4
Коммит 699e7b5b3e
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

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