From aea7a22bba9db8ef377c988c9962dd2153a3c8f0 Mon Sep 17 00:00:00 2001 From: "mark.finkle@gmail.com" Date: Wed, 2 Apr 2008 20:32:42 -0700 Subject: [PATCH] b=426175, r=gavin, blocking=beltzner. FUEL Application.extensions fail --- browser/fuel/src/fuelApplication.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/fuel/src/fuelApplication.js b/browser/fuel/src/fuelApplication.js index f90aec96a86..13dce1e62a5 100644 --- a/browser/fuel/src/fuelApplication.js +++ b/browser/fuel/src/fuelApplication.js @@ -690,10 +690,10 @@ Application.prototype = { _xpcom_factory: ApplicationFactory, // for nsISupports - QueryInterface : XPCOMUtils.generateQI([Ci.fuelIApplication, Ci.nsIObserver, Ci.nsIClassInfo]), + QueryInterface : XPCOMUtils.generateQI([Ci.fuelIApplication, Ci.extIApplication, Ci.nsIObserver, Ci.nsIClassInfo]), getInterfaces : function app_gi(aCount) { - var interfaces = [Ci.fuelIApplication, Ci.nsIObserver, Ci.nsIClassInfo]; + var interfaces = [Ci.fuelIApplication, Ci.extIApplication, Ci.nsIObserver, Ci.nsIClassInfo]; aCount.value = interfaces.length; return interfaces; }, @@ -701,7 +701,7 @@ Application.prototype = { // for nsIObserver observe: function app_observe(aSubject, aTopic, aData) { // Call the extApplication version of this function first - this.__proto__.__proto__.observe(aSubject, aTopic, aData); + this.__proto__.__proto__.observe.call(this, aSubject, aTopic, aData); if (aTopic == "xpcom-shutdown") { this._bookmarks = null; Utilities.free();