зеркало из https://github.com/mozilla/gecko-dev.git
Bug 397614 - BrowserGlue and PlacesTransactionsService don't need to declare nsISupports in their QIs. r=gavin, a=mconnor
This commit is contained in:
Родитель
39da854ec8
Коммит
cb46207cc9
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче