summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-18 01:03:17 -0400
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-24 10:27:54 +0200
commitc75b8ec714b5d3d913ffc8e54180c39ddc3df2e9 (patch)
treefe8c7b3b457033500835cfb7144c5cf1f85f98c8
parent4250d9316618af21095f2db00cde62d7bd94bed5 (diff)
downloadUXP-c75b8ec714b5d3d913ffc8e54180c39ddc3df2e9.tar
UXP-c75b8ec714b5d3d913ffc8e54180c39ddc3df2e9.tar.gz
UXP-c75b8ec714b5d3d913ffc8e54180c39ddc3df2e9.tar.lz
UXP-c75b8ec714b5d3d913ffc8e54180c39ddc3df2e9.tar.xz
UXP-c75b8ec714b5d3d913ffc8e54180c39ddc3df2e9.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',