Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.

This commit is contained in:
Nicholas Nethercote
2015-05-21 00:34:25 -07:00
parent cc74834294
commit f9fdfba566
30 changed files with 120 additions and 194 deletions

View File

@@ -698,7 +698,7 @@ PrefHashEntry* pref_HashTableLookup(const char *key)
MOZ_ASSERT(NS_IsMainThread());
#endif
return static_cast<PrefHashEntry*>(PL_DHashTableSearch(gHashTable, key));
return static_cast<PrefHashEntry*>(gHashTable->Search(key));
}
nsresult pref_HashPref(const char *key, PrefValue value, PrefType type, uint32_t flags)