diff --git a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp index c6cacd50e2a..69ee9f94a1e 100644 --- a/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp +++ b/mozilla/content/xul/document/src/nsXULCommandDispatcher.cpp @@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Focus occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -347,6 +348,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement && (domElement != mCurrentElement)) { @@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Blur occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -400,6 +403,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement) { diff --git a/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp b/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp index c6cacd50e2a..69ee9f94a1e 100644 --- a/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp +++ b/mozilla/rdf/content/src/nsXULCommandDispatcher.cpp @@ -333,6 +333,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Focus occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -347,6 +348,7 @@ nsXULCommandDispatcher::Focus(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement && (domElement != mCurrentElement)) { @@ -386,6 +388,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) nsCOMPtr t; aEvent->GetTarget(getter_AddRefs(t)); +#ifdef DEBUG_hyatt printf("%d : Blur occurred on: ", this); nsCOMPtr domDebugElement = do_QueryInterface(t); if (domDebugElement) { @@ -400,6 +403,7 @@ nsXULCommandDispatcher::Blur(nsIDOMEvent* aEvent) else printf("Window with a XUL doc (happens twice)"); } printf("\n"); +#endif /* DEBUG_hyatt */ nsCOMPtr domElement = do_QueryInterface(t); if (domElement) {