From e7fa7afab1225805993ffa8199fbf8890d721688 Mon Sep 17 00:00:00 2001 From: "ginn.chen%sun.com" Date: Wed, 19 Sep 2007 06:41:45 +0000 Subject: [PATCH] Bug 396153 No need to emit attributes_changed event for anchor jump r=aaronleventhal a=dsicore --- accessible/src/atk/nsAccessibleWrap.cpp | 5 ----- accessible/src/base/nsDocAccessible.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/accessible/src/atk/nsAccessibleWrap.cpp b/accessible/src/atk/nsAccessibleWrap.cpp index 88b96b386dc..7eecc679176 100644 --- a/accessible/src/atk/nsAccessibleWrap.cpp +++ b/accessible/src/atk/nsAccessibleWrap.cpp @@ -1346,11 +1346,6 @@ nsAccessibleWrap::FireAccessibleEvent(nsIAccessibleEvent *aEvent) MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_LOAD_STOPPED\n")); g_signal_emit_by_name (atkObj, "load_stopped"); } break; - case nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED: - { - MAI_LOG_DEBUG(("\n\nReceived: EVENT_DOCUMENT_ATTRIBUTES_CHANGED\n")); - g_signal_emit_by_name (atkObj, "attributes_changed"); - } break; case nsIAccessibleEvent::EVENT_MENUPOPUP_START: MAI_LOG_DEBUG(("\n\nReceived: EVENT_MENUPOPUP_START\n")); diff --git a/accessible/src/base/nsDocAccessible.cpp b/accessible/src/base/nsDocAccessible.cpp index de777b8566c..3e5496a1c68 100644 --- a/accessible/src/base/nsDocAccessible.cpp +++ b/accessible/src/base/nsDocAccessible.cpp @@ -753,11 +753,6 @@ NS_IMETHODIMP nsDocAccessible::FireAnchorJumpEvent() lastAnchor.Assign(currentAnchor); } - if (mIsAnchorJumped) { - nsAccUtils:: - FireAccEvent(nsIAccessibleEvent::EVENT_DOCUMENT_ATTRIBUTES_CHANGED, this); - } - return NS_OK; }