Bug 1343396 - Split CycledCollectedJSContext and XPCJSContext into separate context and runtime classes (r=mccr8)
To run JS in separate cooperative threads, we need to split up per-thread state from per-runtime state. This patch does that for XPConnect. MozReview-Commit-ID: 407SlJ7nR6v
This commit is contained in:
@@ -1712,8 +1712,8 @@ nsMemoryReporterManager::StartGettingReports()
|
||||
s->mAnonymize, parentDMDFile,
|
||||
s->mFinishReporting, s->mFinishReportingData);
|
||||
|
||||
nsTArray<ContentParent*> childWeakRefs;
|
||||
ContentParent::GetAll(childWeakRefs);
|
||||
nsTArray<dom::ContentParent*> childWeakRefs;
|
||||
dom::ContentParent::GetAll(childWeakRefs);
|
||||
if (!childWeakRefs.IsEmpty()) {
|
||||
// Request memory reports from child processes. This happens
|
||||
// after the parent report so that the parent's main thread will
|
||||
|
||||
Reference in New Issue
Block a user