Index: chrome/browser/ui/panels/panel_manager.cc |
diff --git a/chrome/browser/ui/panels/panel_manager.cc b/chrome/browser/ui/panels/panel_manager.cc |
index d3c5f06d45c0f776ac262e083e077009071b80a0..6b45ea4d06f3745616aeb1c2b6b1f3e16c391a3c 100644 |
--- a/chrome/browser/ui/panels/panel_manager.cc |
+++ b/chrome/browser/ui/panels/panel_manager.cc |
@@ -122,9 +122,9 @@ bool PanelManager::ShouldUsePanels(const std::string& extension_id) { |
} |
#endif // USE_X11 && !OS_CHROMEOS |
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
- if (channel == chrome::VersionInfo::CHANNEL_STABLE || |
- channel == chrome::VersionInfo::CHANNEL_BETA) { |
+ version_info::Channel channel = chrome::VersionInfo::GetChannel(); |
+ if (channel == version_info::Channel::STABLE || |
+ channel == version_info::Channel::BETA) { |
return base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnablePanels) || |
extension_id == std::string("nckgahadagoaajjgafhacjanaoiihapd") || |