Changed around load group insertion/removal to happen on mozilla thread.

git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-07-20 08:46:33 +00:00
parent eaef4bf523
commit f1dfc48c58
69 changed files with 276 additions and 340 deletions

View File

@@ -155,13 +155,13 @@ nsrefcnt nsXMLDocument::Release()
nsresult
#ifdef NECKO
nsXMLDocument::Reset(nsIChannel* aChannel)
nsXMLDocument::Reset(nsIChannel* aChannel, nsILoadGroup* aLoadGroup)
#else
nsXMLDocument::Reset(nsIURI* aURL)
#endif
{
#ifdef NECKO
nsresult result = nsDocument::Reset(aChannel);
nsresult result = nsDocument::Reset(aChannel, aLoadGroup);
nsCOMPtr<nsIURI> aURL;
result = aChannel->GetURI(getter_AddRefs(aURL));
if (NS_FAILED(result)) return result;
@@ -206,6 +206,7 @@ NS_IMETHODIMP
nsXMLDocument::StartDocumentLoad(const char* aCommand,
#ifdef NECKO
nsIChannel* aChannel,
nsILoadGroup* aLoadGroup,
#else
nsIURI *aUrl,
#endif
@@ -214,7 +215,7 @@ nsXMLDocument::StartDocumentLoad(const char* aCommand,
{
nsresult rv = nsDocument::StartDocumentLoad(aCommand,
#ifdef NECKO
aChannel,
aChannel, aLoadGroup,
#else
aUrl,
#endif