mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
some reformatting to keep lines from wrapping...
This commit is contained in:
parent
0923311589
commit
cf75fa73c1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user