зеркало из https://github.com/mozilla/gecko-dev.git
Merge m-c to a CLOSED TREE m-i
This commit is contained in:
Коммит
24157c7636
|
@ -1887,7 +1887,6 @@ GCGraphBuilder::AddNode(void *s, nsCycleCollectionParticipant *aParticipant)
|
|||
{
|
||||
PtrToNodeEntry *e = static_cast<PtrToNodeEntry*>(PL_DHashTableOperate(&mPtrToNodeMap, s, PL_DHASH_ADD));
|
||||
if (!e) {
|
||||
NS_WARNING("Hash table add in GCGraphBuilder::AddNode failed");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
@ -175,7 +175,6 @@ bool nsDeque::GrowCapacity() {
|
|||
*/
|
||||
nsDeque& nsDeque::Push(void* aItem) {
|
||||
if (mSize==mCapacity && !GrowCapacity()) {
|
||||
NS_WARNING("out of memory");
|
||||
return *this;
|
||||
}
|
||||
mData[modulus(mOrigin + mSize, mCapacity)]=aItem;
|
||||
|
|
Загрузка…
Ссылка в новой задаче