From 3045e1d5c9805221ab9a28539286ba463f636210 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 21 May 2020 16:23:25 +0000 Subject: [permissions] Fix build bustage with --disable-permissions --- layout/build/nsLayoutStatics.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layout/build') 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(); -- cgit v1.2.3