diff --git a/mozilla/content/base/src/nsXMLHttpRequest.cpp b/mozilla/content/base/src/nsXMLHttpRequest.cpp index 914305ddd92..b84f05ba4c6 100644 --- a/mozilla/content/base/src/nsXMLHttpRequest.cpp +++ b/mozilla/content/base/src/nsXMLHttpRequest.cpp @@ -724,7 +724,6 @@ NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsXMLHttpRequest) NS_INTERFACE_MAP_ENTRY(nsIXMLHttpRequest) NS_INTERFACE_MAP_ENTRY(nsIJSXMLHttpRequest) NS_INTERFACE_MAP_ENTRY(nsIDOMLoadListener) - NS_INTERFACE_MAP_ENTRY(nsIDOMEventListener) NS_INTERFACE_MAP_ENTRY(nsIDOMEventTarget) NS_INTERFACE_MAP_ENTRY(nsIRequestObserver) NS_INTERFACE_MAP_ENTRY(nsIStreamListener) diff --git a/mozilla/layout/generic/nsObjectFrame.cpp b/mozilla/layout/generic/nsObjectFrame.cpp index 0a2f62a69e3..2b78d23ea92 100644 --- a/mozilla/layout/generic/nsObjectFrame.cpp +++ b/mozilla/layout/generic/nsObjectFrame.cpp @@ -1898,10 +1898,7 @@ nsPluginDOMContextMenuListener::~nsPluginDOMContextMenuListener() { } -NS_IMPL_ISUPPORTS3(nsPluginDOMContextMenuListener, - nsIDOMContextMenuListener, - nsIDOMEventListener, - nsIEventListener) +NS_IMPL_ISUPPORTS2(nsPluginDOMContextMenuListener, nsIDOMContextMenuListener, nsIEventListener) NS_IMETHODIMP nsPluginDOMContextMenuListener::ContextMenu(nsIDOMEvent* aContextMenuEvent) diff --git a/mozilla/layout/mathml/base/src/nsMathMLmactionFrame.cpp b/mozilla/layout/mathml/base/src/nsMathMLmactionFrame.cpp index a65b58d5bb6..c212ce0f543 100644 --- a/mozilla/layout/mathml/base/src/nsMathMLmactionFrame.cpp +++ b/mozilla/layout/mathml/base/src/nsMathMLmactionFrame.cpp @@ -76,10 +76,7 @@ NS_IMPL_ADDREF_INHERITED(nsMathMLmactionFrame, nsMathMLContainerFrame) NS_IMPL_RELEASE_INHERITED(nsMathMLmactionFrame, nsMathMLContainerFrame) -NS_IMPL_QUERY_INTERFACE_INHERITED2(nsMathMLmactionFrame, - nsMathMLContainerFrame, - nsIDOMMouseListener, - nsIDOMEventListener) +NS_IMPL_QUERY_INTERFACE_INHERITED1(nsMathMLmactionFrame, nsMathMLContainerFrame, nsIDOMMouseListener) nsIFrame* NS_NewMathMLmactionFrame(nsIPresShell* aPresShell, nsStyleContext* aContext) diff --git a/mozilla/layout/tables/nsTableRowGroupFrame.cpp b/mozilla/layout/tables/nsTableRowGroupFrame.cpp index bffe6006ea8..20ece5a5bec 100644 --- a/mozilla/layout/tables/nsTableRowGroupFrame.cpp +++ b/mozilla/layout/tables/nsTableRowGroupFrame.cpp @@ -89,10 +89,6 @@ nsTableRowGroupFrame::QueryInterface(const nsIID& aIID, void** aInstancePtr) *aInstancePtr = static_cast(this); return NS_OK; } - if (aIID.Equals(NS_GET_IID(nsILineIterator))) { - *aInstancePtr = static_cast(this); - return NS_OK; - } return nsHTMLContainerFrame::QueryInterface(aIID, aInstancePtr); } diff --git a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp index f39cdce9c53..dc0ec8cb501 100644 --- a/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp +++ b/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp @@ -1652,10 +1652,7 @@ nsPluginCacheListener::~nsPluginCacheListener() //////////////////////////////////////////////////////////////////////// -NS_IMPL_ISUPPORTS2(nsPluginCacheListener, - nsIStreamListener, - nsIRequestObserver) - +NS_IMPL_ISUPPORTS1(nsPluginCacheListener, nsIStreamListener) //////////////////////////////////////////////////////////////////////// NS_IMETHODIMP nsPluginCacheListener::OnStartRequest(nsIRequest *request, nsISupports* ctxt) @@ -2710,11 +2707,10 @@ nsPluginHostImpl::~nsPluginHostImpl() } //////////////////////////////////////////////////////////////////////// -NS_IMPL_ISUPPORTS9(nsPluginHostImpl, +NS_IMPL_ISUPPORTS8(nsPluginHostImpl, nsIPluginManager, nsIPluginManager2, nsIPluginHost, - nsIFactory, nsIFileUtilities, nsICookieStorage, nsIObserver, @@ -7082,10 +7078,7 @@ nsresult nsPluginStreamListenerPeer::ServeStreamAsFile(nsIRequest *request, } ////////////////////////////////////////////////////////////////////// -NS_IMPL_ISUPPORTS2(nsPluginByteRangeStreamListener, - nsIStreamListener, - nsIRequestObserver) - +NS_IMPL_ISUPPORTS1(nsPluginByteRangeStreamListener, nsIStreamListener) nsPluginByteRangeStreamListener::nsPluginByteRangeStreamListener(nsIWeakReference* aWeakPtr) { mWeakPtrPluginStreamListenerPeer = aWeakPtr;