From d0cf67573ca6d69c9f00c7e9a70a64158fbca304 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 5 Apr 2020 11:48:09 +0200 Subject: Issue #1505 - Rebuild application version string To respond dynamically to the pref change, the mAppVersion string needs to be rebuilt. Includes some minor improvements for corner cases and removes leftover b2g junk. --- netwerk/protocol/http/nsHttpHandler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'netwerk/protocol/http/nsHttpHandler.h') diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h index 402147577..36fda6ace 100644 --- a/netwerk/protocol/http/nsHttpHandler.h +++ b/netwerk/protocol/http/nsHttpHandler.h @@ -391,6 +391,7 @@ private: // // Useragent/prefs helper methods // + void BuildAppVersion(); void BuildUserAgent(); void InitUserAgentComponents(); void PrefsChanged(nsIPrefBranch *prefs, const char *pref); -- cgit v1.2.3