Index: components/infobars/core/infobar_manager.cc |
diff --git a/components/infobars/core/infobar_manager.cc b/components/infobars/core/infobar_manager.cc |
index 06d1b2861c9f8e5a6376aaaec1a60dd168e3ab2e..1de3cbbd9cb3215f0d402877d15bb4561d3cf4b0 100644 |
--- a/components/infobars/core/infobar_manager.cc |
+++ b/components/infobars/core/infobar_manager.cc |
@@ -100,8 +100,7 @@ void InfoBarManager::RemoveObserver(Observer* obs) { |
observer_list_.RemoveObserver(obs); |
} |
-InfoBarManager::InfoBarManager() |
- : infobars_enabled_(true) { |
+InfoBarManager::InfoBarManager() { |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableInfoBars)) |
infobars_enabled_ = false; |