mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update infobar_utils.cc
This commit is contained in:
parent
f414cf6a42
commit
b733494dae
1 changed files with 0 additions and 6 deletions
|
@ -112,12 +112,6 @@ void AddInfoBarsIfNecessary(Browser* browser,
|
|||
|
||||
infobars::ContentInfoBarManager* infobar_manager =
|
||||
infobars::ContentInfoBarManager::FromWebContents(web_contents);
|
||||
|
||||
if (ObsoleteSystem::IsObsoleteNowOrSoon()) {
|
||||
PrefService* local_state = g_browser_process->local_state();
|
||||
if (!local_state ||
|
||||
!local_state->GetBoolean(prefs::kSuppressUnsupportedOSWarning))
|
||||
ObsoleteSystemInfoBarDelegate::Create(infobar_manager);
|
||||
}
|
||||
|
||||
#if !BUILDFLAG(IS_CHROMEOS_ASH)
|
||||
|
|
Loading…
Reference in a new issue