summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-05-21 16:23:25 +0000
committerMoonchild <moonchild@palemoon.org>2020-05-21 16:23:25 +0000
commit4d373c1d360b29f94026b72c6f66e4ad313732cf (patch)
tree9c18573e81c1ff09572f12e1376523c6ab10493c
parented8efdfaba9e613cc3568105acbe3ee785100333 (diff)
downloadUXP-4d373c1d360b29f94026b72c6f66e4ad313732cf.tar
UXP-4d373c1d360b29f94026b72c6f66e4ad313732cf.tar.gz
UXP-4d373c1d360b29f94026b72c6f66e4ad313732cf.tar.lz
UXP-4d373c1d360b29f94026b72c6f66e4ad313732cf.tar.xz
UXP-4d373c1d360b29f94026b72c6f66e4ad313732cf.zip
[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 daefad038..75fae5398 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();