Added Set/GetLoadCookie methods to nsDocShell. The mLoadCookie is no longer directly set by the nsDSURIContentListener class!

git-svn-id: svn://10.0.0.236/trunk@72645 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
2000-06-20 08:01:19 +00:00
parent 7a02e24f0f
commit 5c4ca89c3b

View File

@@ -180,16 +180,13 @@ NS_IMETHODIMP nsDSURIContentListener::CanHandleContent(const char* aContentType,
NS_IMETHODIMP
nsDSURIContentListener::GetLoadCookie(nsISupports ** aLoadCookie)
{
*aLoadCookie = mDocShell->mLoadCookie;
NS_IF_ADDREF(*aLoadCookie);
return NS_OK;
return mDocShell->GetLoadCookie(aLoadCookie);
}
NS_IMETHODIMP
nsDSURIContentListener::SetLoadCookie(nsISupports * aLoadCookie)
{
mDocShell->mLoadCookie = aLoadCookie;
return NS_OK;
return mDocShell->SetLoadCookie(aLoadCookie);
}
NS_IMETHODIMP