Bug 397614 - BrowserGlue and PlacesTransactionsService don't need to declare nsISupports in their QIs. r=gavin, a=mconnor

This commit is contained in:
rflint@ryanflint.com 2007-09-27 12:37:47 -07:00
Родитель 39da854ec8
Коммит cb46207cc9
2 изменённых файлов: 5 добавлений и 6 удалений

Просмотреть файл

@ -401,9 +401,9 @@ BrowserGlue.prototype = {
classID: Components.ID("{eab9012e-5f74-4cbc-b2b5-a590235513cc}"),
contractID: "@mozilla.org/browser/browserglue;1",
QueryInterface : XPCOMUtils.generateQI([Ci.nsIObserver, Ci.nsISupports,
Ci.nsISupportsWeakReference,
Ci.nsIBrowserGlue]),
QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver,
Ci.nsISupportsWeakReference,
Ci.nsIBrowserGlue]),
// redefine the default factory for XPCOMUtils
_xpcom_factory: BrowserGlueServiceFactory,

Просмотреть файл

@ -63,8 +63,7 @@ placesTransactionsService.prototype = {
classID: CLASS_ID,
contractID: CONTRACT_ID,
QueryInterface: XPCOMUtils.generateQI([Ci.nsIPlacesTransactionsService,
Ci.nsISupports]),
QueryInterface: XPCOMUtils.generateQI([Ci.nsIPlacesTransactionsService]),
aggregateTransactions: function placesAggrTransactions(name, transactions) {
return new placesAggregateTransactions(name, transactions);
@ -179,7 +178,7 @@ placesBaseTransaction.prototype = {
},
// nsISupports
QueryInterface: XPCOMUtils.generateQI([Ci.nsITransaction, Ci.nsISupports]),
QueryInterface: XPCOMUtils.generateQI([Ci.nsITransaction]),
};
function placesAggregateTransactions(name, transactions) {