зеркало из https://github.com/mozilla/pjs.git
DEBUG_dougt -> DEBUG_dougt_xxx. a=dbaron
This commit is contained in:
Родитель
dd6b482c94
Коммит
be5e52547c
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче