diff --git a/layout/style/nsCSSProps.cpp b/layout/style/nsCSSProps.cpp index 65ef3ad42ecb..1cead28e68fe 100644 --- a/layout/style/nsCSSProps.cpp +++ b/layout/style/nsCSSProps.cpp @@ -910,8 +910,8 @@ KTableEntry nsCSSProps::kBackgroundClipKTable[] = { { eCSSKeyword_UNKNOWN, -1 } }; -static_assert(ArrayLength(nsCSSProps::kImageLayerOriginKTable) == - ArrayLength(nsCSSProps::kBackgroundClipKTable) - 1, +static_assert(MOZ_ARRAY_LENGTH(nsCSSProps::kImageLayerOriginKTable) == + MOZ_ARRAY_LENGTH(nsCSSProps::kBackgroundClipKTable) - 1, "background-clip has one extra value, which is text, compared" "to {background,mask}-origin");