зеркало из https://github.com/mozilla/pjs.git
Bug 576055 - MayHavePaintEventListener fails for e10s message manager. This was part of bug 549223, but somehow it was lost in a merge. r=dougt
This commit is contained in:
Родитель
f51e70def2
Коммит
786b890902
|
@ -2092,7 +2092,12 @@ MayHavePaintEventListener(nsPIDOMWindow* aInnerWindow)
|
|||
if (window)
|
||||
return MayHavePaintEventListener(window);
|
||||
|
||||
return PR_FALSE;
|
||||
nsCOMPtr<nsPIWindowRoot> root = do_QueryInterface(parentTarget);
|
||||
nsPIDOMEventTarget* tabChildGlobal;
|
||||
return root &&
|
||||
(tabChildGlobal = root->GetParentTarget()) &&
|
||||
(manager = tabChildGlobal->GetListenerManager(PR_FALSE)) &&
|
||||
manager->MayHavePaintEventListener();
|
||||
}
|
||||
|
||||
PRBool
|
||||
|
|
Загрузка…
Ссылка в новой задаче