Bug 1821956 part 6: Remove event deferral and sync text change events from Windows PDocAccessible. r=nlapre
We only needed to defer events because of the need to wait for a parent COM proxy. Similarly, sync text change events (as opposed to async) were only necessary with the COM proxy architecture. Now that there are no COM proxies, neither of these are necessary. Differential Revision: https://phabricator.services.mozilla.com/D177899
This commit is contained in:
@@ -977,9 +977,6 @@ void NotificationController::WillRefresh(mozilla::TimeStamp aTime) {
|
||||
ipcDoc = new DocAccessibleChild(childDoc, parentIPCDoc->Manager());
|
||||
childDoc->SetIPCDoc(ipcDoc);
|
||||
|
||||
#if defined(XP_WIN)
|
||||
parentIPCDoc->ConstructChildDocInParentProcess(ipcDoc, id);
|
||||
#else
|
||||
nsCOMPtr<nsIBrowserChild> browserChild =
|
||||
do_GetInterface(mDocument->DocumentNode()->GetDocShell());
|
||||
if (browserChild) {
|
||||
@@ -987,9 +984,10 @@ void NotificationController::WillRefresh(mozilla::TimeStamp aTime) {
|
||||
->SendPDocAccessibleConstructor(
|
||||
ipcDoc, parentIPCDoc, id,
|
||||
childDoc->DocumentNode()->GetBrowsingContext());
|
||||
#ifndef XP_WIN
|
||||
ipcDoc->SendPDocAccessiblePlatformExtConstructor();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user