diff options
author | Moonchild <moonchild@palemoon.org> | 2021-02-15 06:26:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-02-15 06:26:33 +0000 |
commit | 9fa7943937dfef58698f9955697509e6d649522f (patch) | |
tree | a68a6abdb441ee4ba5974e22018c5bcda335d1a8 | |
parent | 9832adb6f7d898b8df62b6d4430bfff5eac6792d (diff) | |
download | uxp-9fa7943937dfef58698f9955697509e6d649522f.tar.gz |
Issue #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.cpp | 1 |
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); |