summaryrefslogtreecommitdiffstats
path: root/accessible/base/Asserts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/base/Asserts.cpp')
-rw-r--r--accessible/base/Asserts.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessible/base/Asserts.cpp b/accessible/base/Asserts.cpp
index 729b4e1ea5..454eaffef6 100644
--- a/accessible/base/Asserts.cpp
+++ b/accessible/base/Asserts.cpp
@@ -12,7 +12,8 @@
using namespace mozilla::a11y;
#define ROLE(geckoRole, stringRole, ariaRole, atkRole, macRole, macSubrole, \
- msaaRole, ia2Role, androidClass, iosIsElement, nameRule) \
+ msaaRole, ia2Role, androidClass, iosIsElement, uiaControlType, \
+ nameRule) \
static_assert( \
static_cast<uint32_t>(roles::geckoRole) == \
static_cast<uint32_t>(nsIAccessibleRole::ROLE_##geckoRole), \