summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();