Backed out changeset 0e27121698e4 (bug 1316119) for a11y failures a=backout CLOSED TREE

This commit is contained in:
Wes Kocher 2016-11-16 16:16:32 -08:00
Родитель d8a0141e5f
Коммит dcbb82b42b
1 изменённых файлов: 0 добавлений и 16 удалений

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

@ -115,22 +115,6 @@ public:
return ent->mData;
}
/**
* Add key to the table if not already present, and return a reference to its
* value. If key is not already in the table then the value is default
* constructed.
*/
DataType& GetOrInsert(const KeyType& aKey)
{
EntryType* ent = this->GetEntry(aKey);
if (ent) {
return ent->mData;
}
ent = this->PutEntry(aKey);
return ent->mData;
}
/**
* put a new value for the associated key
* @param aKey the key to put