From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- dom/permission/PermissionUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/permission') diff --git a/dom/permission/PermissionUtils.cpp b/dom/permission/PermissionUtils.cpp index 26e3ec0157..604fa01167 100644 --- a/dom/permission/PermissionUtils.cpp +++ b/dom/permission/PermissionUtils.cpp @@ -24,7 +24,7 @@ static const nsLiteralCString kPermissionTypes[] = { // clang-format on }; -const size_t kPermissionNameCount = PermissionNameValues::Count; +const size_t kPermissionNameCount = ContiguousEnumSize::value; static_assert(MOZ_ARRAY_LENGTH(kPermissionTypes) == kPermissionNameCount, "kPermissionTypes and PermissionName count should match"); -- cgit v1.2.3