Bug 797510 - Add QI for DOMFMRadioParent. r=jlebar.
authorShih-Chiang Chien <schien@mozilla.com>
Thu, 11 Oct 2012 21:31:39 -0400
changeset 110143 887b293a2fd396dd012d292f36797727c7049553
parent 110142 e513d3aa6a1e5491e3ef47c50df1747d76092009
child 110144 e05e9c4666e14b1e59352ec98430692093601b6c
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjlebar
bugs797510
milestone19.0a1
Bug 797510 - Add QI for DOMFMRadioParent. r=jlebar.
dom/fm/DOMFMRadioParent.jsm
--- a/dom/fm/DOMFMRadioParent.jsm
+++ b/dom/fm/DOMFMRadioParent.jsm
@@ -58,16 +58,19 @@ XPCOMUtils.defineLazyGetter(this, "FMRad
 
 XPCOMUtils.defineLazyServiceGetter(this, "gSettingsService",
                                    "@mozilla.org/settingsService;1",
                                    "nsISettingsService");
 
 let EXPORTED_SYMBOLS = ["DOMFMRadioParent"];
 
 let DOMFMRadioParent = {
+  QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver,
+                                         Ci.nsISettingsServiceCallback]),
+
   _initialized: false,
 
   /* Indicates if the FM radio is currently enabled */
   _isEnabled: false,
 
   /* Indicates if the FM radio is currently being enabled */
   _enabling: false,