Bug 790417 - ContentParent::GetAll should include the pre-allocated process. r=cjones

This commit is contained in:
Justin Lebar 2012-10-02 21:19:11 -04:00
parent 0edb7eba3a
commit 1de604c745

View File

@ -405,6 +405,10 @@ ContentParent::GetAll(nsTArray<ContentParent*>& aArray)
if (gAppContentParents) {
gAppContentParents->EnumerateRead(&AppendToTArray, &aArray);
}
if (sPreallocatedAppProcess) {
aArray.AppendElement(sPreallocatedAppProcess);
}
}
void