some reformatting to keep lines from wrapping...

This commit is contained in:
rpotts%netscape.com 2000-05-06 06:05:03 +00:00
parent 0923311589
commit cf75fa73c1

View File

@ -177,29 +177,33 @@ NS_IMETHODIMP nsDSURIContentListener::CanHandleContent(const char* aContentType,
return NS_OK; return NS_OK;
} }
NS_IMETHODIMP nsDSURIContentListener::GetLoadCookie(nsISupports ** aLoadCookie) NS_IMETHODIMP
nsDSURIContentListener::GetLoadCookie(nsISupports ** aLoadCookie)
{ {
*aLoadCookie = mDocShell->mLoadCookie; *aLoadCookie = mDocShell->mLoadCookie;
NS_IF_ADDREF(*aLoadCookie); NS_IF_ADDREF(*aLoadCookie);
return NS_OK; return NS_OK;
} }
NS_IMETHODIMP nsDSURIContentListener::SetLoadCookie(nsISupports * aLoadCookie) NS_IMETHODIMP
nsDSURIContentListener::SetLoadCookie(nsISupports * aLoadCookie)
{ {
mDocShell->mLoadCookie = aLoadCookie; mDocShell->mLoadCookie = aLoadCookie;
return NS_OK; return NS_OK;
} }
NS_IMETHODIMP nsDSURIContentListener::GetParentContentListener(nsIURIContentListener** NS_IMETHODIMP
aParentListener) nsDSURIContentListener::GetParentContentListener(nsIURIContentListener**
aParentListener)
{ {
*aParentListener = mParentContentListener; *aParentListener = mParentContentListener;
NS_IF_ADDREF(*aParentListener); NS_IF_ADDREF(*aParentListener);
return NS_OK; return NS_OK;
} }
NS_IMETHODIMP nsDSURIContentListener::SetParentContentListener(nsIURIContentListener* NS_IMETHODIMP
aParentListener) nsDSURIContentListener::SetParentContentListener(nsIURIContentListener*
aParentListener)
{ {
// Weak Reference, don't addref // Weak Reference, don't addref
mParentContentListener = aParentListener; mParentContentListener = aParentListener;