A couple of changes to get building on Unix. Thanks to andreas.otte@primus-online.de for the patch.

This commit is contained in:
tbogard@aol.net
1999-11-29 22:12:28 +00:00
parent bdc65adfbd
commit bbd2886fac
2 changed files with 3 additions and 4 deletions

View File

@@ -1643,7 +1643,7 @@ nsDocShell::FireStartDocumentLoad(nsIDocumentLoader* aLoader,
NS_ENSURE_ARG_POINTER(aCommand);
nsCOMPtr<nsIDocumentViewer> docViewer;
if (mScriptGlobal && (aLoader == mDocLoader))
if (mScriptGlobal && (aLoader == mDocLoader.get()))
{
docViewer = do_QueryInterface(mContentViewer);
if (docViewer)
@@ -1666,7 +1666,7 @@ nsDocShell::FireStartDocumentLoad(nsIDocumentLoader* aLoader,
}
}
if (aLoader == mDocLoader)
if (aLoader == mDocLoader.get())
{
nsCOMPtr<nsIDocumentLoaderObserver> dlObserver;
@@ -1724,7 +1724,7 @@ nsDocShell::FireEndDocumentLoad(nsIDocumentLoader* aLoader,
nsCOMPtr<nsIURI> aURL;
NS_ENSURE_SUCCESS(aChannel->GetURI(getter_AddRefs(aURL)), NS_ERROR_FAILURE);
if (aLoader == mDocLoader)
if (aLoader == mDocLoader.get())
{
if (mScriptGlobal && mContentViewer)
{

View File

@@ -34,7 +34,6 @@ CPPSRCS = \
$(NULL)
EXTRA_DSO_LDOPTS= \
$(DIST)/lib/libhtmldocshell_s.a \
$(DIST)/lib/libbasedocshell_s.a \
$(NULL)