summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-02-15 06:26:33 +0000
committerMoonchild <moonchild@palemoon.org>2021-02-15 06:26:33 +0000
commit667e59ef2e80d1df4418bf14c0b5fa572b2b4086 (patch)
treea68a6abdb441ee4ba5974e22018c5bcda335d1a8
parentf12a628ffd4f1347ae6d24605f5de53cf2e36752 (diff)
downloaduxp-667e59ef2e80d1df4418bf14c0b5fa572b2b4086.tar.gz
Issue mcp-graveyard/UXP#1741 - Follow-up: Remove superfluous prefobserver
This one is no longer necessary (and incorrect) after the changes made in #1684
-rw-r--r--netwerk/protocol/http/nsHttpHandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp
index 0cca87474b..e6443173a9 100644
--- a/netwerk/protocol/http/nsHttpHandler.cpp
+++ b/netwerk/protocol/http/nsHttpHandler.cpp
@@ -279,7 +279,6 @@ nsHttpHandler::Init()
nsCOMPtr<nsIPrefBranch> prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID);
if (prefBranch) {
prefBranch->AddObserver(HTTP_PREF_PREFIX, this, true);
- prefBranch->AddObserver(UA_PREF_PREFIX, this, true);
prefBranch->AddObserver(GENERAL_UA_PREF_PREFIX, this, true);
prefBranch->AddObserver(INTL_ACCEPT_LANGUAGES, this, true);
prefBranch->AddObserver(BROWSER_PREF("disk_cache_ssl"), this, true);