diff --git a/extensions/xmlextras/base/public/makefile.win b/extensions/xmlextras/base/public/makefile.win index c4dd4a53b7d..e69de29bb2d 100644 --- a/extensions/xmlextras/base/public/makefile.win +++ b/extensions/xmlextras/base/public/makefile.win @@ -1,32 +0,0 @@ -#!nmake -# -# The contents of this file are subject to the Netscape Public -# License Version 1.1 (the "License"); you may not use this file -# except in compliance with the License. You may obtain a copy of -# the License at http://www.mozilla.org/NPL/ -# -# Software distributed under the License is distributed on an "AS -# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -# implied. See the License for the specific language governing -# rights and limitations under the License. -# -# The Original Code is mozilla.org code. -# -# The Initial Developer of the Original Code is Netscape -# Communications Corporation. Portions created by Netscape are -# Copyright (C) 1998 Netscape Communications Corporation. All -# Rights Reserved. -# -# Contributor(s): - -DEPTH=..\..\..\.. - -XPIDLSRCS = .\nsIDOMSerializer.idl \ - .\nsIXMLHttpRequest.idl \ - .\nsIDOMParser.idl \ - $(NULL) - -MODULE=xmlsoap - -include <$(DEPTH)\config\rules.mak> - diff --git a/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp b/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp index 239764dbb7c..ff635a6f022 100644 --- a/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp +++ b/extensions/xmlextras/base/src/nsXMLHttpRequest.cpp @@ -946,7 +946,8 @@ nsXMLHttpRequest::Send(nsISupports *body) // Register as a load listener on the document nsCOMPtr target = do_QueryInterface(mDocument); if (target) { - nsLoadListenerProxy* proxy = new nsLoadListenerProxy(NS_GetWeakReference(NS_STATIC_CAST(nsIXMLHttpRequest*, this))); + nsWeakPtr requestWeak = getter_AddRefs(NS_GetWeakReference(NS_STATIC_CAST(nsIXMLHttpRequest*, this))); + nsLoadListenerProxy* proxy = new nsLoadListenerProxy(requestWeak); if (!proxy) return NS_ERROR_OUT_OF_MEMORY; // This will addref the proxy diff --git a/extensions/xmlextras/soap/public/Makefile.in b/extensions/xmlextras/soap/public/Makefile.in index e2fdb303159..40a7d96417e 100644 --- a/extensions/xmlextras/soap/public/Makefile.in +++ b/extensions/xmlextras/soap/public/Makefile.in @@ -26,7 +26,7 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk -MODULE = xmlextras +MODULE = xmlsoap XPIDLSRCS = \ nsISOAPCall.idl \ diff --git a/extensions/xmlextras/soap/public/makefile.win b/extensions/xmlextras/soap/public/makefile.win index 244aa6f9615..a3494e131da 100644 --- a/extensions/xmlextras/soap/public/makefile.win +++ b/extensions/xmlextras/soap/public/makefile.win @@ -31,7 +31,7 @@ XPIDLSRCS = .\nsISOAPCall.idl \ .\nsISOAPTransportListener.idl \ $(NULL) -MODULE=xmlextras +MODULE=xmlsoap include <$(DEPTH)\config\rules.mak>