From 1b95eed1cd7f1a41ea5f00accd306a40cda1e891 Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Wed, 15 May 2024 23:06:09 -0500 Subject: [PATCH] fix infobar warning --- src/chrome/browser/ui/startup/infobar_utils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chrome/browser/ui/startup/infobar_utils.cc b/src/chrome/browser/ui/startup/infobar_utils.cc index e06919b3..eca275e0 100644 --- a/src/chrome/browser/ui/startup/infobar_utils.cc +++ b/src/chrome/browser/ui/startup/infobar_utils.cc @@ -148,8 +148,8 @@ void AddInfoBarsIfNecessary(Browser* browser, chrome::ShowBadFlagsPrompt(web_contents); } - infobars::ContentInfoBarManager* infobar_manager = - infobars::ContentInfoBarManager::FromWebContents(web_contents); + //infobars::ContentInfoBarManager* infobar_manager = + // infobars::ContentInfoBarManager::FromWebContents(web_contents); #if !BUILDFLAG(IS_CHROMEOS_ASH) if (!is_web_app &&