зеркало из https://github.com/electron/electron.git
chore: fix lint (#37971)
This commit is contained in:
Родитель
cdace75389
Коммит
fa3379a5d5
|
@ -432,14 +432,16 @@ void WebContentsPreferences::OverrideWebkitPrefs(
|
||||||
iter->second;
|
iter->second;
|
||||||
if (auto iter = default_font_family_.find("serif");
|
if (auto iter = default_font_family_.find("serif");
|
||||||
iter != default_font_family_.end())
|
iter != default_font_family_.end())
|
||||||
prefs->serif_font_family_map[blink::web_pref::kCommonScript] = iter->second;
|
prefs->serif_font_family_map[blink::web_pref::kCommonScript] =
|
||||||
|
iter->second;
|
||||||
if (auto iter = default_font_family_.find("sansSerif");
|
if (auto iter = default_font_family_.find("sansSerif");
|
||||||
iter != default_font_family_.end())
|
iter != default_font_family_.end())
|
||||||
prefs->sans_serif_font_family_map[blink::web_pref::kCommonScript] =
|
prefs->sans_serif_font_family_map[blink::web_pref::kCommonScript] =
|
||||||
iter->second;
|
iter->second;
|
||||||
if (auto iter = default_font_family_.find("monospace");
|
if (auto iter = default_font_family_.find("monospace");
|
||||||
iter != default_font_family_.end())
|
iter != default_font_family_.end())
|
||||||
prefs->fixed_font_family_map[blink::web_pref::kCommonScript] = iter->second;
|
prefs->fixed_font_family_map[blink::web_pref::kCommonScript] =
|
||||||
|
iter->second;
|
||||||
if (auto iter = default_font_family_.find("cursive");
|
if (auto iter = default_font_family_.find("cursive");
|
||||||
iter != default_font_family_.end())
|
iter != default_font_family_.end())
|
||||||
prefs->cursive_font_family_map[blink::web_pref::kCommonScript] =
|
prefs->cursive_font_family_map[blink::web_pref::kCommonScript] =
|
||||||
|
|
Загрузка…
Ссылка в новой задаче