Commit f04516b6 authored by rpotts%netscape.com's avatar rpotts%netscape.com
Browse files

Added Set/GetLoadCookie methods to nsDocShell. The mLoadCookie is no longer...

Added Set/GetLoadCookie methods to nsDocShell.   The mLoadCookie is no longer directly set by the nsDSURIContentListener class!
parent 6b98fc35
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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