Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6
This commit is contained in:
@@ -1926,12 +1926,6 @@ nsMemoryReporterManager::HandleChildReport(
|
||||
nsMemoryReporterManager::StartChildReport(mozilla::dom::ContentParent* aChild,
|
||||
const PendingProcessesState* aState)
|
||||
{
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (aChild->IsNuwaProcess()) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!aChild->IsAlive()) {
|
||||
MEMORY_REPORTING_LOG("StartChildReports (gen=%u): child exited before"
|
||||
" its report was started\n",
|
||||
@@ -1984,7 +1978,7 @@ nsMemoryReporterManager::EndProcessReport(uint32_t aGeneration, bool aSuccess)
|
||||
RefPtr<ContentParent> nextChild;
|
||||
nextChild.swap(s->mChildrenPending.LastElement());
|
||||
s->mChildrenPending.TruncateLength(s->mChildrenPending.Length() - 1);
|
||||
// Start report (if the child is still alive and not Nuwa).
|
||||
// Start report (if the child is still alive).
|
||||
if (StartChildReport(nextChild, s)) {
|
||||
++s->mNumProcessesRunning;
|
||||
MEMORY_REPORTING_LOG("HandleChildReports (aGen=%u): started child report"
|
||||
|
||||
Reference in New Issue
Block a user