mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 934568 - Don't make ScanRoots CC OOM assertion fatal due to Win7 debug M2 failures. s=smaug
This commit is contained in:
parent
9b6101f326
commit
e38ae1edc4
@ -2132,8 +2132,7 @@ nsCycleCollector::MarkRoots(GCGraphBuilder &aBuilder)
|
||||
}
|
||||
|
||||
if (aBuilder.RanOutOfMemory()) {
|
||||
MOZ_ASSERT(false,
|
||||
"Ran out of memory while building cycle collector graph");
|
||||
MOZ_ASSERT(false, "Ran out of memory while building cycle collector graph");
|
||||
CC_TELEMETRY(_OOM, true);
|
||||
}
|
||||
}
|
||||
@ -2267,7 +2266,7 @@ nsCycleCollector::ScanRoots(nsICycleCollectorListener *aListener)
|
||||
GraphWalker<scanVisitor>(scanVisitor(mWhiteNodeCount, failed)).WalkFromRoots(mGraph);
|
||||
|
||||
if (failed) {
|
||||
MOZ_ASSERT(false, "Ran out of memory in ScanRoots");
|
||||
NS_ASSERTION(false, "Ran out of memory in ScanRoots");
|
||||
CC_TELEMETRY(_OOM, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user