Bug 324285 followup: remove all mentions of NS_SHISTORYLISTENER_CONTRACTID, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188963 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1506,10 +1506,8 @@ void CBrowserView::OnInterfacesNsishistory()
|
||||
|
||||
nsCOMPtr<nsISHistory> theSessionHistory(do_CreateInstance(NS_SHISTORY_CONTRACTID));
|
||||
nsCOMPtr<nsIHistoryEntry> theHistoryEntry(do_CreateInstance(NS_HISTORYENTRY_CONTRACTID));
|
||||
nsCOMPtr<nsISHistoryListener> theSHListener(do_CreateInstance(NS_SHISTORYLISTENER_CONTRACTID));
|
||||
// do_QueryInterface
|
||||
// NS_HISTORYENTRY_CONTRACTID
|
||||
// NS_SHISTORYLISTENER_CONTRACTID
|
||||
|
||||
|
||||
if (!theSessionHistory)
|
||||
|
||||
@@ -98,7 +98,6 @@ void CNsIHistory::OnStartTests(UINT nMenuID)
|
||||
//nsCOMPtr<nsIURI> theURI;
|
||||
// do_QueryInterface
|
||||
// NS_HISTORYENTRY_CONTRACTID
|
||||
// NS_SHISTORYLISTENER_CONTRACTID
|
||||
|
||||
// get Session History through web nav iface
|
||||
if (qaWebNav) {
|
||||
|
||||
Reference in New Issue
Block a user