mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1167189: Use a size annotation on the OOM abort. r=bholley
--HG-- extra : rebase_source : dc6239a85b5136314fb9884ff0c989fcf407f904
This commit is contained in:
parent
b0aca35272
commit
f4189e1554
@ -2208,7 +2208,7 @@ nsSameProcessAsyncMessageBase::nsSameProcessAsyncMessageBase(JSContext* aCx,
|
||||
mPrincipal(aPrincipal)
|
||||
{
|
||||
if (aData.mDataLength && !mData.copy(aData.mData, aData.mDataLength)) {
|
||||
NS_RUNTIMEABORT("OOM");
|
||||
NS_ABORT_OOM(aData.mDataLength);
|
||||
}
|
||||
mClosure = aData.mClosure;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user