Bug 1332690 - Assign Managers to DocAccessibleChilds. r=tbsaunde

The Manager is set by IPDL for remotely constructed objects but our DocAccessibleChilds are created on the child process side, so we need to assign a manager in the constructor so that we can find it when needed.
This commit is contained in:
David Parks
2017-03-27 10:03:43 -07:00
parent 8e300b73cd
commit a1e5902990
5 changed files with 8 additions and 5 deletions

View File

@@ -867,7 +867,7 @@ NotificationController::WillRefresh(mozilla::TimeStamp aTime)
continue;
}
ipcDoc = new DocAccessibleChild(childDoc);
ipcDoc = new DocAccessibleChild(childDoc, parentIPCDoc->Manager());
childDoc->SetIPCDoc(ipcDoc);
#if defined(XP_WIN)