summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-04-23 15:56:35 -0400
committerMatt A. Tobin <email@mattatobin.com>2019-04-23 15:56:35 -0400
commit325b204d2661dafd2720d3e78f47be8038871dbd (patch)
treef649c7aa92e1d49aba43de6ebade282a8bd3da28 /application
parentabe80cc31d5a40ebed743085011fbcda0c1a9a10 (diff)
downloadUXP-325b204d2661dafd2720d3e78f47be8038871dbd.tar
UXP-325b204d2661dafd2720d3e78f47be8038871dbd.tar.gz
UXP-325b204d2661dafd2720d3e78f47be8038871dbd.tar.lz
UXP-325b204d2661dafd2720d3e78f47be8038871dbd.tar.xz
UXP-325b204d2661dafd2720d3e78f47be8038871dbd.zip
Issue #1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC
Diffstat (limited to 'application')
-rw-r--r--application/basilisk/components/search/service/nsSearchService.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/application/basilisk/components/search/service/nsSearchService.js b/application/basilisk/components/search/service/nsSearchService.js
index 2ea9384f5..b4db31dee 100644
--- a/application/basilisk/components/search/service/nsSearchService.js
+++ b/application/basilisk/components/search/service/nsSearchService.js
@@ -4219,10 +4219,6 @@ SearchService.prototype = {
Services.obs.addObserver(this, SEARCH_ENGINE_TOPIC, false);
Services.obs.addObserver(this, QUIT_APPLICATION_TOPIC, false);
-#ifdef MOZ_FENNEC
- Services.prefs.addObserver(LOCALE_PREF, this, false);
-#endif
-
// The current stage of shutdown. Used to help analyze crash
// signatures in case of shutdown timeout.
let shutdownState = {
@@ -4263,10 +4259,6 @@ SearchService.prototype = {
_removeObservers: function SRCH_SVC_removeObservers() {
Services.obs.removeObserver(this, SEARCH_ENGINE_TOPIC);
Services.obs.removeObserver(this, QUIT_APPLICATION_TOPIC);
-
-#ifdef MOZ_FENNEC
- Services.prefs.removeObserver(LOCALE_PREF, this);
-#endif
},
QueryInterface: XPCOMUtils.generateQI([