summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-07 10:48:22 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-07 10:48:22 -0400
commit03cf69df453c7d4e188259e4bfb7317e8e993a33 (patch)
treea73a58ef995281154d6c182a3e353ab97bcea7dd /application/palemoon/components
parentca9f588f3169be9601fae1f6aaf876c85cdf58cf (diff)
downloadUXP-03cf69df453c7d4e188259e4bfb7317e8e993a33.tar
UXP-03cf69df453c7d4e188259e4bfb7317e8e993a33.tar.gz
UXP-03cf69df453c7d4e188259e4bfb7317e8e993a33.tar.lz
UXP-03cf69df453c7d4e188259e4bfb7317e8e993a33.tar.xz
UXP-03cf69df453c7d4e188259e4bfb7317e8e993a33.zip
[PALEMOON] Finish incomplete ifdef'ing of MOZ_WEBRTC
Diffstat (limited to 'application/palemoon/components')
-rw-r--r--application/palemoon/components/nsBrowserGlue.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/application/palemoon/components/nsBrowserGlue.js b/application/palemoon/components/nsBrowserGlue.js
index 0656f269d..aafdced9f 100644
--- a/application/palemoon/components/nsBrowserGlue.js
+++ b/application/palemoon/components/nsBrowserGlue.js
@@ -25,7 +25,9 @@ Cu.import("resource://gre/modules/Services.jsm");
["PageThumbs", "resource://gre/modules/PageThumbs.jsm"],
["NewTabUtils", "resource://gre/modules/NewTabUtils.jsm"],
["BrowserNewTabPreloader", "resource:///modules/BrowserNewTabPreloader.jsm"],
+#ifdef MOZ_WEBRTC
["webrtcUI", "resource:///modules/webrtcUI.jsm"],
+#endif
["PrivateBrowsingUtils", "resource://gre/modules/PrivateBrowsingUtils.jsm"],
["RecentWindow", "resource:///modules/RecentWindow.jsm"],
["Task", "resource://gre/modules/Task.jsm"],
@@ -395,7 +397,9 @@ BrowserGlue.prototype = {
PageThumbs.init();
NewTabUtils.init();
BrowserNewTabPreloader.init();
+#ifdef MOZ_WEBRTC
webrtcUI.init();
+#endif
FormValidationHandler.init();
LoginManagerParent.init();
@@ -502,7 +506,9 @@ BrowserGlue.prototype = {
_onProfileShutdown: function BG__onProfileShutdown() {
BrowserNewTabPreloader.uninit();
UserAgentOverrides.uninit();
+#ifdef MOZ_WEBRTC
webrtcUI.uninit();
+#endif
FormValidationHandler.uninit();
this._dispose();
},