A couple of changes to get building on Unix. Thanks to andreas.otte@primus-online.de for the patch.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,6 @@ CPPSRCS = \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DSO_LDOPTS= \
|
||||
$(DIST)/lib/libhtmldocshell_s.a \
|
||||
$(DIST)/lib/libbasedocshell_s.a \
|
||||
$(NULL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user