Searched refs:weakRefFactory (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsObserverList.cpp78 nsCOMPtr<nsISupportsWeakReference> weakRefFactory = do_QueryInterface(anObserver); local
79 NS_ASSERTION(weakRefFactory, "AddObserver: trying weak object that doesnt support nsIWeakReference");
80 if ( weakRefFactory )
81 observerRef = getter_AddRefs(NS_STATIC_CAST(nsISupports*, NS_GetWeakReference(weakRefFactory)));
85 nsCOMPtr<nsISupportsWeakReference> weakRefFactory = do_QueryInterface(anObserver); local
86 NS_ASSERTION(!weakRefFactory, "Your object supports weak references, but is being added with a strong reference");
114 nsCOMPtr<nsISupportsWeakReference> weakRefFactory = do_QueryInterface(anObserver);
116 if (weakRefFactory) {
117 observerRef = getter_AddRefs(NS_STATIC_CAST(nsISupports*, NS_GetWeakReference(weakRefFactory)));
200 nsCOMPtr<nsIWeakReference> weakRefFactory local
[all...]

Completed in 45 milliseconds