Remove CefBrowserSettings.accept_language_list (fixes #3555)

Chromium does not support configuration of this value on a per-Browser basis.
This commit is contained in:
Marshall Greenblatt
2023-10-05 16:54:42 -04:00
parent a8a96235a8
commit 64c2dc13ca
9 changed files with 186 additions and 195 deletions

View File

@@ -274,8 +274,7 @@ class InterceptedRequestHandlerWrapper : public InterceptedRequestHandler {
unhandled_request_callback_ = unhandled_request_callback;
// Default values for standard headers.
accept_language_ = browser_prefs::GetAcceptLanguageList(
cef_browser_context, browser.get());
accept_language_ = browser_prefs::GetAcceptLanguageList(profile);
DCHECK(!accept_language_.empty());
user_agent_ =
CefAppManager::Get()->GetContentClient()->browser()->GetUserAgent();