diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-08-10 15:32:39 +0300 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-11-09 11:48:23 +0100 |
commit | 4efce6863f717f9995fedb7c8cf23fda644d2bdf (patch) | |
tree | 3d38b6be4a562da4f9ebf1d8ab5fb2815546310c | |
parent | 5c8a76bc7e3ba9cbb4209305f53872cfcdcfaf27 (diff) | |
download | qtwebengine-chromium-4efce6863f717f9995fedb7c8cf23fda644d2bdf.tar.gz |
Fix build without spellcheck
Amend 0182bd05b3bcd0976f2e232caa55d5bb5fbba6a1 and move use of
language::prefs::kSelectedLanguages behind the ifdef to fix:
| ../../../../../git/src/3rdparty/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc:55:33: error: 'language' has not been declared
| 55 | {switches::kAcceptLang, language::prefs::kSelectedLanguages},
Change-Id: I8f9936d7a03c64c3c805c18f870ad5cb011e0990
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc b/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc index 57e988cf3c1..cb43f3c62d9 100644 --- a/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc +++ b/chromium/chrome/browser/prefs/chrome_command_line_pref_store.cc @@ -51,8 +51,8 @@ const CommandLinePrefStore::SwitchToPreferenceMapEntry ChromeCommandLinePrefStore::string_switch_map_[] = { #if BUILDFLAG(ENABLE_SPELLCHECK) {switches::kLang, language::prefs::kApplicationLocale}, -#endif {switches::kAcceptLang, language::prefs::kSelectedLanguages}, +#endif // `switches::kAuthServerAllowlistDeprecated` must be before // `switches::kAuthServerAllowlist` so that the deprecated value is // overridden in `ChromeCommandLinePrefStore::ApplyStringSwitches`. |