зеркало из https://github.com/mozilla/gecko-dev.git
Bug 649236 - AccessibleObjectFromEvent not working in-process in 64 bit builds, r=roc
This commit is contained in:
Родитель
055b36abf1
Коммит
2923459748
|
@ -5235,7 +5235,10 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM &wParam, LPARAM &lParam,
|
|||
case WM_GETOBJECT:
|
||||
{
|
||||
*aRetValue = 0;
|
||||
if (lParam == OBJID_CLIENT) { // oleacc.dll will be loaded dynamically
|
||||
// Do explicit casting to make it working on 64bit systems (see bug 649236
|
||||
// for details).
|
||||
DWORD objId = static_cast<DWORD>(lParam);
|
||||
if (objId == OBJID_CLIENT) { // oleacc.dll will be loaded dynamically
|
||||
nsAccessible *rootAccessible = GetRootAccessible(); // Held by a11y cache
|
||||
if (rootAccessible) {
|
||||
IAccessible *msaaAccessible = NULL;
|
||||
|
|
Загрузка…
Ссылка в новой задаче