Bug 876159 - Remove warnings that overflow maximum log size in CC-during-OOM cases, r=mccr8 CLOSED TREE

This commit is contained in:
Phil Ringnalda 2013-05-25 14:40:09 -07:00
parent 2bf7004860
commit 968459e440
2 changed files with 0 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;