Bug 668469 - Part 2: use InteractiveState() instead of NativeInteractiveState(). r=surkov
authorHub Figuière <hfiguiere@mozilla.com>
Fri, 24 Aug 2012 23:48:41 -0400
changeset 103428 0b399d43b570de2eea85a6da24612e87c1563c5a
parent 103427 7c2aaefc3891ee3cafa971006dac064aed05901c
child 103429 573c753b7bc806585fac9ccb3499d0b66499c9b5
push id13984
push userhfiguiere@mozilla.com
push dateSat, 25 Aug 2012 21:37:53 +0000
treeherdermozilla-inbound@0b399d43b570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssurkov
bugs668469
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 668469 - Part 2: use InteractiveState() instead of NativeInteractiveState(). r=surkov
accessible/src/mac/mozAccessible.mm
--- a/accessible/src/mac/mozAccessible.mm
+++ b/accessible/src/mac/mozAccessible.mm
@@ -97,17 +97,17 @@ GetClosestInterestingAccessible(id anObj
 
 - (BOOL)accessibilityIsIgnored
 {
   NS_OBJC_BEGIN_TRY_ABORT_BLOCK_RETURN;
 
   // unknown (either unimplemented, or irrelevant) elements are marked as ignored
   // as well as expired elements.
   return !mGeckoAccessible || ([[self role] isEqualToString:NSAccessibilityUnknownRole] &&
-                               !(mGeckoAccessible->NativeInteractiveState() & states::FOCUSABLE));
+                               !(mGeckoAccessible->InteractiveState() & states::FOCUSABLE));
 
   NS_OBJC_END_TRY_ABORT_BLOCK_RETURN(NO);
 }
 
 - (NSArray*)accessibilityAttributeNames
 {
   NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL;