mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
Merge m-c to a CLOSED TREE fx-team
This commit is contained in:
commit
2c989aaad7
@ -1885,7 +1885,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;
|
||||
|
Loading…
Reference in New Issue
Block a user