зеркало из https://github.com/mozilla/gecko-dev.git
e72ae1eb3e
The code previously called DefWindowProc to get a system generated client IAccessible. However, DefWindowProc doesn't do this and I'm fairly sure it never has. Even if we use CreateStdAccessibleObject instead: 1. We crash in LazyInstantiator's destructor because we try to call into mWeakMsaaRoot, which doesn't exist in this case. 2. We crash when some clients call us because AddRef and Release assume that we've transplanted our ref count into mRealRootUnk, but we don't do that in the case of a fake root. 3. We don't (and can't) aggregate the fake root COM object, so QueryInterface would be asymmetric. This may well cause obscure crashes/leaks. We could fix all of these issues, but since this has clearly never been used or relied upon, we should just remove it. We already have stub implementations for key methods and the others will just fail as they always have. There should be no visible change with this patch. Differential Revision: https://phabricator.services.mozilla.com/D182864 |
||
---|---|---|
.. | ||
android | ||
aom | ||
atk | ||
base | ||
basetypes | ||
docs | ||
generic | ||
html | ||
interfaces | ||
ipc | ||
mac | ||
other | ||
tests | ||
windows | ||
xpcom | ||
xul | ||
moz.build |