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;
}
NS_IMETHODIMP nsDSURIContentListener::GetLoadCookie(nsISupports ** aLoadCookie)
NS_IMETHODIMP
nsDSURIContentListener::GetLoadCookie(nsISupports ** aLoadCookie)
{
*aLoadCookie = mDocShell->mLoadCookie;
NS_IF_ADDREF(*aLoadCookie);
return NS_OK;
}
NS_IMETHODIMP nsDSURIContentListener::SetLoadCookie(nsISupports * aLoadCookie)
NS_IMETHODIMP
nsDSURIContentListener::SetLoadCookie(nsISupports * aLoadCookie)
{
mDocShell->mLoadCookie = aLoadCookie;
return NS_OK;
}
NS_IMETHODIMP nsDSURIContentListener::GetParentContentListener(nsIURIContentListener**
aParentListener)
NS_IMETHODIMP
nsDSURIContentListener::GetParentContentListener(nsIURIContentListener**
aParentListener)
{
*aParentListener = mParentContentListener;
NS_IF_ADDREF(*aParentListener);
return NS_OK;
}
NS_IMETHODIMP nsDSURIContentListener::SetParentContentListener(nsIURIContentListener*
aParentListener)
NS_IMETHODIMP
nsDSURIContentListener::SetParentContentListener(nsIURIContentListener*
aParentListener)
{
// Weak Reference, don't addref
mParentContentListener = aParentListener;