DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron

git-svn-id: svn://10.0.0.236/trunk@116803 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com
2002-03-18 23:40:36 +00:00
parent e0a5449d5d
commit ed532ac856

View File

@@ -80,7 +80,7 @@ nsObserverList::AddObserver(nsIObserver* anObserver, PRBool ownsWeak)
if ( weakRefFactory )
observerRef = getter_AddRefs(NS_STATIC_CAST(nsISupports*, NS_GetWeakReference(weakRefFactory)));
} else {
#if DEBUG_dougt
#if DEBUG_dougt_xxx
// if you are hitting this assertion, contact dougt@netscape.com. There may be a ownership problem caused by his checkin to freeze nsIObserver
nsCOMPtr<nsISupportsWeakReference> weakRefFactory = do_QueryInterface(anObserver);
NS_ASSERTION(!weakRefFactory, "Your object supports weak references, but is being added with a strong reference");