Bug 1951893 - Remove unneeded StaticAtom suffixes. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D240598
This commit is contained in:
Tom Schuster
2025-03-11 11:36:09 +00:00
parent 4a07aebf8e
commit b8d11d463f
40 changed files with 856 additions and 858 deletions

View File

@@ -58,8 +58,7 @@ using namespace mozilla::a11y;
// Per the MathML 3 spec, the latter happens iff the linethickness
// attribute is of the form [zero-float][optional-unit]. In that case we
// set line thickness to zero and in the other cases we set it to one.
if (NSString* thickness =
utils::GetAccAttr(self, nsGkAtoms::linethickness_)) {
if (NSString* thickness = utils::GetAccAttr(self, nsGkAtoms::linethickness)) {
NSNumberFormatter* formatter =
[[[NSNumberFormatter alloc] init] autorelease];
NSNumber* value = [formatter numberFromString:thickness];

View File

@@ -387,7 +387,7 @@ using namespace mozilla::a11y;
// and are instructed by the ARIA map to use the native host role.
roleAtom = [self ARIARole];
if (roleAtom == nsGkAtoms::log_) {
if (roleAtom == nsGkAtoms::log) {
return @"AXApplicationLog";
}