summaryrefslogtreecommitdiff
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
parent44de3c3023f40686d1cc46c8074e7b04d6832966 (diff)
downloaduxp-3045e1d5c9805221ab9a28539286ba463f636210.tar.gz
[permissions] Fix build bustage with --disable-permissions
-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 124bcbf10b..d71513268a 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();