зеркало из https://github.com/mozilla/pjs.git
backout bug 506206
This commit is contained in:
Родитель
af0125178f
Коммит
afe9aa6830
|
@ -38,7 +38,6 @@
|
|||
|
||||
#include "nsAccessibleEventData.h"
|
||||
#include "nsAccessibilityAtoms.h"
|
||||
#include "nsApplicationAccessibleWrap.h"
|
||||
#include "nsCoreUtils.h"
|
||||
#include "nsIAccessibilityService.h"
|
||||
#include "nsIAccessNode.h"
|
||||
|
@ -112,15 +111,7 @@ void nsAccEvent::CaptureIsFromUserInput(PRBool aIsAsynch)
|
|||
nsCOMPtr<nsIDOMNode> eventNode;
|
||||
GetDOMNode(getter_AddRefs(eventNode));
|
||||
if (!eventNode) {
|
||||
// XXX: remove this hack during reorganization of 506907. Meanwhile we
|
||||
// want to get rid an assertion for application accessible events which
|
||||
// don't have DOM node (see bug 506206).
|
||||
nsRefPtr<nsApplicationAccessibleWrap> applicationAcc =
|
||||
nsAccessNode::GetApplicationAccessible();
|
||||
nsCOMPtr<nsIAccessible> applicationAccessible = applicationAcc;
|
||||
|
||||
if (mAccessible != applicationAccessible)
|
||||
NS_NOTREACHED("There should always be a DOM node for an event");
|
||||
NS_NOTREACHED("There should always be a DOM node for an event");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче