mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
Bug 1589493 - Expose isLikelyOOM to Content crash handlers;r=gsvelto
Depends on D54129 Differential Revision: https://phabricator.services.mozilla.com/D54130 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c15218401c
commit
d35076d793
@ -1786,6 +1786,9 @@ void ContentParent::ActorDestroy(ActorDestroyReason why) {
|
||||
if (!dumpID.IsEmpty()) {
|
||||
props->SetPropertyAsAString(NS_LITERAL_STRING("dumpID"), dumpID);
|
||||
}
|
||||
// Propagate `isLikelyOOM`.
|
||||
Unused << props->SetPropertyAsBool(NS_LITERAL_STRING("isLikelyOOM"),
|
||||
mCrashReporter->IsLikelyOOM());
|
||||
}
|
||||
nsAutoString cpId;
|
||||
cpId.AppendInt(static_cast<uint64_t>(this->ChildID()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user