зеркало из https://github.com/mozilla/gecko-dev.git
Merge m-c to a CLOSED TREE birch
This commit is contained in:
Коммит
01e9afe170
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче