Bug 1120476 (part 3) - Remove PLDHashTable::data. r=froydnj.
This commit is contained in:
@@ -149,7 +149,7 @@ static nsresult pref_HashPref(const char *key, PrefValue value, PrefType type, u
|
||||
nsresult PREF_Init()
|
||||
{
|
||||
if (!gHashTable.ops) {
|
||||
if (!PL_DHashTableInit(&gHashTable, &pref_HashTableOps, nullptr,
|
||||
if (!PL_DHashTableInit(&gHashTable, &pref_HashTableOps,
|
||||
sizeof(PrefHashEntry), fallible_t(),
|
||||
PREF_HASHTABLE_INITIAL_LENGTH)) {
|
||||
gHashTable.ops = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user