From 02211f8448876cd7c72784380b9e9229959392bb Mon Sep 17 00:00:00 2001 From: JustOff Date: Sat, 25 Aug 2018 17:50:02 +0300 Subject: Refresh nsStringBundleService and nsHttpHandler when the browser locale is changed --- netwerk/protocol/http/nsHttpHandler.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'netwerk/protocol/http/nsHttpHandler.h') diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h index 0904af893..848dd25b1 100644 --- a/netwerk/protocol/http/nsHttpHandler.h +++ b/netwerk/protocol/http/nsHttpHandler.h @@ -384,7 +384,7 @@ private: void PrefsChanged(nsIPrefBranch *prefs, const char *pref); nsresult SetAccept(const char *); - nsresult SetAcceptLanguages(const char *); + nsresult SetAcceptLanguages(); nsresult SetAcceptEncodings(const char *, bool mIsSecure); nsresult InitConnectionMgr(); @@ -491,6 +491,7 @@ private: nsCString mUserAgent; nsXPIDLCString mUserAgentOverride; bool mUserAgentIsDirty; // true if mUserAgent should be rebuilt + bool mAcceptLanguagesIsDirty; bool mPromptTempRedirect; -- cgit v1.2.3