From 1b482dcc58f8e79422573eca375f22924fa6be05 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Wed, 26 Aug 2015 17:54:53 -0400 Subject: [PATCH] bug 1199735 - remove event logging from the windows AccessibleWrap::HandleAccEvent r=davidb if this is useful it would make more sense to log it outside of the windows layer. Since its not clear it is useful, and it makes it harder to separate event dispatch logic from HandleAccEvent its easiest to just remove it for now. --- accessible/windows/msaa/AccessibleWrap.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/accessible/windows/msaa/AccessibleWrap.cpp b/accessible/windows/msaa/AccessibleWrap.cpp index c4e613fe2af3..0b06677ec3ad 100644 --- a/accessible/windows/msaa/AccessibleWrap.cpp +++ b/accessible/windows/msaa/AccessibleWrap.cpp @@ -1242,24 +1242,6 @@ AccessibleWrap::HandleAccEvent(AccEvent* aEvent) HWND hWnd = GetHWNDFor(accessible); NS_ENSURE_TRUE(hWnd, NS_ERROR_FAILURE); - nsAutoString tag; - nsAutoCString id; - nsIContent* cnt = accessible->GetContent(); - if (cnt) { - cnt->NodeInfo()->NameAtom()->ToString(tag); - nsIAtom* aid = cnt->GetID(); - if (aid) - aid->ToUTF8String(id); - } - -#ifdef A11Y_LOG - if (logging::IsEnabled(logging::ePlatforms)) { - printf("\n\nMSAA event: event: %d, target: %s@id='%s', childid: %d, hwnd: %p\n\n", - eventType, NS_ConvertUTF16toUTF8(tag).get(), id.get(), - childID, hWnd); - } -#endif - // Fire MSAA event for client area window. ::NotifyWinEvent(winEvent, hWnd, OBJID_CLIENT, childID);