summaryrefslogtreecommitdiff
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.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 daefad038d..75fae5398e 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();