mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 00:14:33 +00:00
Fix debug spew for bz -- just change #ifdef DEBUG to DEBUG_A11Y, not part of release build
This commit is contained in:
parent
8f4b750e06
commit
f6b8e55cf5
@ -1511,7 +1511,7 @@ NS_IMETHODIMP nsDocAccessible::FlushPendingEvents()
|
||||
nsCOMPtr<nsIAccessibleText> accessibleText = do_QueryInterface(accessible);
|
||||
PRInt32 caretOffset;
|
||||
if (accessibleText && NS_SUCCEEDED(accessibleText->GetCaretOffset(&caretOffset))) {
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_A11Y
|
||||
PRUnichar chAtOffset;
|
||||
accessibleText->GetCharacterAtOffset(caretOffset, &chAtOffset);
|
||||
printf("\nCaret moved to %d with char %c", caretOffset, chAtOffset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user