Bug 1951893 - Remove unneeded StaticAtom suffixes. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D240598
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user