зеркало из https://github.com/mozilla/gecko-dev.git
Bug 574312 - fix assertion, r=davidb, a=davidb
This commit is contained in:
Родитель
ce66c7964f
Коммит
72bf2418ac
|
@ -722,7 +722,8 @@ nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
|
|||
}
|
||||
if (!fireFocus) {
|
||||
nsCOMPtr<nsINode> realFocusedNode = GetCurrentFocus();
|
||||
nsIContent* realFocusedContent = realFocusedNode->AsElement();
|
||||
nsIContent* realFocusedContent =
|
||||
realFocusedNode->IsElement() ? realFocusedNode->AsElement() : nsnull;
|
||||
nsIContent* containerContent = targetContent;
|
||||
while (containerContent) {
|
||||
nsCOMPtr<nsIDOMXULPopupElement> popup = do_QueryInterface(containerContent);
|
||||
|
|
Загрузка…
Ссылка в новой задаче