summaryrefslogtreecommitdiffstats
path: root/layout/build
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-21 16:23:25 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-05-23 16:13:26 +0200
commit3045e1d5c9805221ab9a28539286ba463f636210 (patch)
tree7b1966a2bd4107b00193dbf37d5f380859babeb1 /layout/build
parent44de3c3023f40686d1cc46c8074e7b04d6832966 (diff)
downloadUXP-3045e1d5c9805221ab9a28539286ba463f636210.tar
UXP-3045e1d5c9805221ab9a28539286ba463f636210.tar.gz
UXP-3045e1d5c9805221ab9a28539286ba463f636210.tar.lz
UXP-3045e1d5c9805221ab9a28539286ba463f636210.tar.xz
UXP-3045e1d5c9805221ab9a28539286ba463f636210.zip
[permissions] Fix build bustage with --disable-permissions
Diffstat (limited to 'layout/build')
-rw-r--r--layout/build/nsLayoutStatics.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/layout/build/nsLayoutStatics.cpp b/layout/build/nsLayoutStatics.cpp
index 124bcbf10..d71513268 100644
--- a/layout/build/nsLayoutStatics.cpp
+++ b/layout/build/nsLayoutStatics.cpp
@@ -273,7 +273,9 @@ nsLayoutStatics::Initialize()
ProcessPriorityManager::Init();
+#ifdef MOZ_PERMISSIONS
nsPermissionManager::ClearOriginDataObserverInit();
+#endif
nsCookieService::AppClearDataObserverInit();
nsApplicationCacheService::AppClearDataObserverInit();