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
|
|
@ -169,25 +169,27 @@ bool VRChild::SendRequestMemoryReport(const uint32_t& aGeneration,
|
|||
const Maybe<FileDescriptor>& aDMDFile) {
|
||||
mMemoryReportRequest = MakeUnique<MemoryReportRequestHost>(aGeneration);
|
||||
|
||||
PVRChild::SendRequestMemoryReport(
|
||||
aGeneration, aAnonymize, aMinimizeMemoryUsage, aDMDFile,
|
||||
[&](const uint32_t& aGeneration2) {
|
||||
if (VRProcessManager* vpm = VRProcessManager::Get()) {
|
||||
if (VRChild* child = vpm->GetVRChild()) {
|
||||
if (child->mMemoryReportRequest) {
|
||||
child->mMemoryReportRequest->Finish(aGeneration2);
|
||||
child->mMemoryReportRequest = nullptr;
|
||||
PVRChild::SendRequestMemoryReport(aGeneration, aAnonymize,
|
||||
aMinimizeMemoryUsage, aDMDFile)
|
||||
->Then(
|
||||
GetCurrentSerialEventTarget(), __func__,
|
||||
[](uint32_t aGeneration2) {
|
||||
if (VRProcessManager* vpm = VRProcessManager::Get()) {
|
||||
if (VRChild* child = vpm->GetVRChild()) {
|
||||
if (child->mMemoryReportRequest) {
|
||||
child->mMemoryReportRequest->Finish(aGeneration2);
|
||||
child->mMemoryReportRequest = nullptr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
[&](mozilla::ipc::ResponseRejectReason) {
|
||||
if (VRProcessManager* vpm = VRProcessManager::Get()) {
|
||||
if (VRChild* child = vpm->GetVRChild()) {
|
||||
child->mMemoryReportRequest = nullptr;
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
[](mozilla::ipc::ResponseRejectReason) {
|
||||
if (VRProcessManager* vpm = VRProcessManager::Get()) {
|
||||
if (VRChild* child = vpm->GetVRChild()) {
|
||||
child->mMemoryReportRequest = nullptr;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue