summaryrefslogtreecommitdiff
path: root/accessible/base
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-05-04 09:51:45 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-05-04 09:52:08 -0400
commit758663e882c49294e58a5c527f3164b6cc72c369 (patch)
tree7cf39a54f04370c883722bf4ca2aa88e0865a938 /accessible/base
parentd9d9d1ed8d5fd676d9f2d0226cb087df9575cd4b (diff)
downloaduxp-758663e882c49294e58a5c527f3164b6cc72c369.tar.gz
De-unify accessibility build on Mac.
Also fixes Linux build bustage with accessibility enabled.
Diffstat (limited to 'accessible/base')
-rw-r--r--accessible/base/EventTree.cpp1
-rw-r--r--accessible/base/Logging.cpp2
-rw-r--r--accessible/base/NotificationController.cpp1
-rw-r--r--accessible/base/moz.build2
-rw-r--r--accessible/base/nsCoreUtils.cpp1
-rw-r--r--accessible/base/nsEventShell.cpp4
6 files changed, 10 insertions, 1 deletions
diff --git a/accessible/base/EventTree.cpp b/accessible/base/EventTree.cpp
index 84c4aafdd6..e9867b3b58 100644
--- a/accessible/base/EventTree.cpp
+++ b/accessible/base/EventTree.cpp
@@ -8,6 +8,7 @@
#include "Accessible-inl.h"
#include "nsEventShell.h"
#include "DocAccessible.h"
+#include "DocAccessible-inl.h"
#include "EmbeddedObjCollector.h"
#include "NotificationController.h"
#ifdef A11Y_LOG
diff --git a/accessible/base/Logging.cpp b/accessible/base/Logging.cpp
index afc37ef85e..619af9e0a5 100644
--- a/accessible/base/Logging.cpp
+++ b/accessible/base/Logging.cpp
@@ -9,6 +9,7 @@
#include "Accessible-inl.h"
#include "AccEvent.h"
#include "DocAccessible.h"
+#include "DocAccessible-inl.h"
#include "nsAccessibilityService.h"
#include "nsCoreUtils.h"
#include "OuterDocAccessible.h"
@@ -23,6 +24,7 @@
#include "nsIDocShellTreeItem.h"
#include "nsIURI.h"
#include "mozilla/dom/Element.h"
+#include "mozilla/dom/HTMLBodyElement.h"
using namespace mozilla;
using namespace mozilla::a11y;
diff --git a/accessible/base/NotificationController.cpp b/accessible/base/NotificationController.cpp
index 3f1e5bcd3e..30382e75e3 100644
--- a/accessible/base/NotificationController.cpp
+++ b/accessible/base/NotificationController.cpp
@@ -17,6 +17,7 @@
using namespace mozilla;
using namespace mozilla::a11y;
+using namespace mozilla::dom;
////////////////////////////////////////////////////////////////////////////////
// NotificationCollector
diff --git a/accessible/base/moz.build b/accessible/base/moz.build
index e8e382e39b..024baef4c9 100644
--- a/accessible/base/moz.build
+++ b/accessible/base/moz.build
@@ -55,7 +55,7 @@ SOURCES += [
]
if CONFIG['A11Y_LOG']:
- UNIFIED_SOURCES += [
+ SOURCES += [
'Logging.cpp',
]
diff --git a/accessible/base/nsCoreUtils.cpp b/accessible/base/nsCoreUtils.cpp
index effe66be22..e0ca43ca17 100644
--- a/accessible/base/nsCoreUtils.cpp
+++ b/accessible/base/nsCoreUtils.cpp
@@ -9,6 +9,7 @@
#include "nsIBaseWindow.h"
#include "nsIDocShellTreeOwner.h"
+#include "nsIContentInlines.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMHTMLElement.h"
diff --git a/accessible/base/nsEventShell.cpp b/accessible/base/nsEventShell.cpp
index e070acee5c..00e4e9b896 100644
--- a/accessible/base/nsEventShell.cpp
+++ b/accessible/base/nsEventShell.cpp
@@ -9,6 +9,10 @@
#include "mozilla/StaticPtr.h"
+#ifdef A11Y_LOG
+#include "Logging.h"
+#endif
+
using namespace mozilla;
using namespace mozilla::a11y;