Remove some null-checks due to infallible new, no bug, r=me
This commit is contained in:
@@ -72,9 +72,6 @@ BlockingResourceBase::BlockingResourceBase(
|
||||
NS_RUNTIMEABORT("can't initialize blocking resource static members");
|
||||
|
||||
mDDEntry = new BlockingResourceBase::DeadlockDetectorEntry(aName, aType);
|
||||
if (!mDDEntry)
|
||||
NS_RUNTIMEABORT("can't allocated deadlock detector entry");
|
||||
|
||||
mChainPrev = 0;
|
||||
sDeadlockDetector->Add(mDDEntry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user