diff options
Diffstat (limited to 'WebCore/accessibility/mac/AXObjectCacheMac.mm')
-rw-r--r-- | WebCore/accessibility/mac/AXObjectCacheMac.mm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebCore/accessibility/mac/AXObjectCacheMac.mm b/WebCore/accessibility/mac/AXObjectCacheMac.mm index a02bc75..fbb485d 100644 --- a/WebCore/accessibility/mac/AXObjectCacheMac.mm +++ b/WebCore/accessibility/mac/AXObjectCacheMac.mm @@ -108,12 +108,20 @@ void AXObjectCache::postPlatformNotification(AccessibilityObject* obj, AXNotific return; } + // NSAccessibilityPostNotification will call this method, (but not when running DRT), so ASSERT here to make sure it does not crash. + // https://bugs.webkit.org/show_bug.cgi?id=46662 + ASSERT([obj->wrapper() accessibilityIsIgnored] || true); + NSAccessibilityPostNotification(obj->wrapper(), macNotification); // Used by DRT to know when notifications are posted. [obj->wrapper() accessibilityPostedNotification:macNotification]; } +void AXObjectCache::nodeTextChangePlatformNotification(AccessibilityObject*, AXTextChange, unsigned, unsigned) +{ +} + void AXObjectCache::handleFocusedUIElementChanged(RenderObject*, RenderObject*) { [[WebCoreViewFactory sharedFactory] accessibilityHandleFocusChanged]; |