summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-04-22 20:57:42 +0000
committerMoonchild <moonchild@palemoon.org>2020-04-22 20:57:42 +0000
commit822533971544edfafc56cacbefa5b413ac3e6551 (patch)
tree2e2143af3e067ce6b4fe11eb841453f7f48ba5b3 /dom
parentbbdf84dd35c8a74d634b7b1a968cd6e14cca3c12 (diff)
downloaduxp-822533971544edfafc56cacbefa5b413ac3e6551.tar.gz
Issue #80 - De-unify dom/push
Diffstat (limited to 'dom')
-rw-r--r--dom/push/PushSubscriptionOptions.cpp1
-rw-r--r--dom/push/PushUtil.cpp1
-rw-r--r--dom/push/PushUtil.h1
-rw-r--r--dom/push/moz.build2
4 files changed, 4 insertions, 1 deletions
diff --git a/dom/push/PushSubscriptionOptions.cpp b/dom/push/PushSubscriptionOptions.cpp
index 39252e9e87..8f6ce5499e 100644
--- a/dom/push/PushSubscriptionOptions.cpp
+++ b/dom/push/PushSubscriptionOptions.cpp
@@ -6,6 +6,7 @@
#include "mozilla/dom/PushSubscriptionOptionsBinding.h"
#include "mozilla/HoldDropJSObjects.h"
+#include "PushUtil.h"
namespace mozilla {
namespace dom {
diff --git a/dom/push/PushUtil.cpp b/dom/push/PushUtil.cpp
index 408b62048d..1aba0e0662 100644
--- a/dom/push/PushUtil.cpp
+++ b/dom/push/PushUtil.cpp
@@ -3,6 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/dom/PushUtil.h"
+#include "mozilla/dom/UnionTypes.h" // for OwningArrayBufferViewOrArrayBuffer
namespace mozilla {
namespace dom {
diff --git a/dom/push/PushUtil.h b/dom/push/PushUtil.h
index 548ae23491..71a7af478a 100644
--- a/dom/push/PushUtil.h
+++ b/dom/push/PushUtil.h
@@ -7,6 +7,7 @@
#include "nsTArray.h"
+#include "mozilla/ErrorResult.h"
#include "mozilla/dom/TypedArray.h"
namespace mozilla {
diff --git a/dom/push/moz.build b/dom/push/moz.build
index d138b270c2..ca72c5f5da 100644
--- a/dom/push/moz.build
+++ b/dom/push/moz.build
@@ -37,7 +37,7 @@ EXPORTS.mozilla.dom += [
'PushUtil.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'PushManager.cpp',
'PushNotifier.cpp',
'PushSubscription.cpp',