icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -99,33 +99,37 @@ bool SocketProcessParent::SendRequestMemoryReport(
|
|||
const Maybe<ipc::FileDescriptor>& aDMDFile) {
|
||||
mMemoryReportRequest = MakeUnique<dom::MemoryReportRequestHost>(aGeneration);
|
||||
|
||||
PSocketProcessParent::SendRequestMemoryReport(
|
||||
aGeneration, aAnonymize, aMinimizeMemoryUsage, aDMDFile,
|
||||
[&](const uint32_t& aGeneration2) {
|
||||
MOZ_ASSERT(gIOService);
|
||||
if (!gIOService->SocketProcess()) {
|
||||
return;
|
||||
}
|
||||
SocketProcessParent* actor = gIOService->SocketProcess()->GetActor();
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
if (actor->mMemoryReportRequest) {
|
||||
actor->mMemoryReportRequest->Finish(aGeneration2);
|
||||
actor->mMemoryReportRequest = nullptr;
|
||||
}
|
||||
},
|
||||
[&](mozilla::ipc::ResponseRejectReason) {
|
||||
MOZ_ASSERT(gIOService);
|
||||
if (!gIOService->SocketProcess()) {
|
||||
return;
|
||||
}
|
||||
SocketProcessParent* actor = gIOService->SocketProcess()->GetActor();
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
actor->mMemoryReportRequest = nullptr;
|
||||
});
|
||||
PSocketProcessParent::SendRequestMemoryReport(aGeneration, aAnonymize,
|
||||
aMinimizeMemoryUsage, aDMDFile)
|
||||
->Then(
|
||||
GetCurrentSerialEventTarget(), __func__,
|
||||
[](uint32_t aGeneration2) {
|
||||
MOZ_ASSERT(gIOService);
|
||||
if (!gIOService->SocketProcess()) {
|
||||
return;
|
||||
}
|
||||
SocketProcessParent* actor =
|
||||
gIOService->SocketProcess()->GetActor();
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
if (actor->mMemoryReportRequest) {
|
||||
actor->mMemoryReportRequest->Finish(aGeneration2);
|
||||
actor->mMemoryReportRequest = nullptr;
|
||||
}
|
||||
},
|
||||
[](mozilla::ipc::ResponseRejectReason) {
|
||||
MOZ_ASSERT(gIOService);
|
||||
if (!gIOService->SocketProcess()) {
|
||||
return;
|
||||
}
|
||||
SocketProcessParent* actor =
|
||||
gIOService->SocketProcess()->GetActor();
|
||||
if (!actor) {
|
||||
return;
|
||||
}
|
||||
actor->mMemoryReportRequest = nullptr;
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue