diff --git a/mozilla/docshell/shistory/public/nsISHistoryListener.idl b/mozilla/docshell/shistory/public/nsISHistoryListener.idl index b8d3ec139b5..fd2834f174b 100644 --- a/mozilla/docshell/shistory/public/nsISHistoryListener.idl +++ b/mozilla/docshell/shistory/public/nsISHistoryListener.idl @@ -40,10 +40,6 @@ interface nsIURI; -%{C++ -#define NS_SHISTORYLISTENER_CONTRACTID "@mozilla.org/browser/shistorylistener;1" -%} - /** * nsISHistoryListener defines the interface one can implement to receive * notifications about activities in session history and to be able to diff --git a/mozilla/embedding/qa/testembed/BrowserView.cpp.mod b/mozilla/embedding/qa/testembed/BrowserView.cpp.mod index 10cc6a0e028..9d48e520a4a 100644 --- a/mozilla/embedding/qa/testembed/BrowserView.cpp.mod +++ b/mozilla/embedding/qa/testembed/BrowserView.cpp.mod @@ -1506,10 +1506,8 @@ void CBrowserView::OnInterfacesNsishistory() nsCOMPtr theSessionHistory(do_CreateInstance(NS_SHISTORY_CONTRACTID)); nsCOMPtr theHistoryEntry(do_CreateInstance(NS_HISTORYENTRY_CONTRACTID)); - nsCOMPtr theSHListener(do_CreateInstance(NS_SHISTORYLISTENER_CONTRACTID)); // do_QueryInterface // NS_HISTORYENTRY_CONTRACTID - // NS_SHISTORYLISTENER_CONTRACTID if (!theSessionHistory) diff --git a/mozilla/embedding/qa/testembed/nsiHistory.cpp b/mozilla/embedding/qa/testembed/nsiHistory.cpp index c8977e63d4d..ac55c2e92f0 100644 --- a/mozilla/embedding/qa/testembed/nsiHistory.cpp +++ b/mozilla/embedding/qa/testembed/nsiHistory.cpp @@ -98,7 +98,6 @@ void CNsIHistory::OnStartTests(UINT nMenuID) //nsCOMPtr theURI; // do_QueryInterface // NS_HISTORYENTRY_CONTRACTID - // NS_SHISTORYLISTENER_CONTRACTID // get Session History through web nav iface if (qaWebNav) {