summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:03:17 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-18 01:03:17 -0400
commitc5e4fd8449290910252dfe70365c7e170c8883e2 (patch)
tree9af44db06f3a795b6dd982f4ed51170ac3f2ce10
parentd34a91958ef290f24f37c29eeee28d2f3c497f81 (diff)
downloadUXP-c5e4fd8449290910252dfe70365c7e170c8883e2.tar
UXP-c5e4fd8449290910252dfe70365c7e170c8883e2.tar.gz
UXP-c5e4fd8449290910252dfe70365c7e170c8883e2.tar.lz
UXP-c5e4fd8449290910252dfe70365c7e170c8883e2.tar.xz
UXP-c5e4fd8449290910252dfe70365c7e170c8883e2.zip
Issue #80 - De-unify dom/permission
-rw-r--r--dom/permission/PermissionUtils.cpp1
-rw-r--r--dom/permission/Permissions.cpp1
-rw-r--r--dom/permission/moz.build2
3 files changed, 3 insertions, 1 deletions
diff --git a/dom/permission/PermissionUtils.cpp b/dom/permission/PermissionUtils.cpp
index 1bb1c1c0d..a1d4fea43 100644
--- a/dom/permission/PermissionUtils.cpp
+++ b/dom/permission/PermissionUtils.cpp
@@ -4,6 +4,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
+#include "nsIPermissionManager.h"
#include "PermissionUtils.h"
namespace mozilla {
diff --git a/dom/permission/Permissions.cpp b/dom/permission/Permissions.cpp
index ddbfc5ffe..99654055a 100644
--- a/dom/permission/Permissions.cpp
+++ b/dom/permission/Permissions.cpp
@@ -11,6 +11,7 @@
#include "mozilla/dom/Promise.h"
#include "mozilla/Services.h"
#include "nsIPermissionManager.h"
+#include "PermissionStatus.h"
#include "PermissionUtils.h"
namespace mozilla {
diff --git a/dom/permission/moz.build b/dom/permission/moz.build
index 0be8a7535..ea17c738f 100644
--- a/dom/permission/moz.build
+++ b/dom/permission/moz.build
@@ -9,7 +9,7 @@ EXPORTS.mozilla.dom += [
'PermissionStatus.h',
]
-UNIFIED_SOURCES += [
+SOURCES += [
'PermissionObserver.cpp',
'Permissions.cpp',
'PermissionStatus.cpp',