Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index f02a9eee3d36b36b07edd312724e4f77a1ef2678..ea1949a0e31f5a10b3faa4207b8070ad7c270d10 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -599,8 +599,7 @@ bool WindowsCreateFunction::RunImpl() { |
urls.push_back(GURL(chrome::kChromeUINewTabURL)); |
#if defined(OS_CHROMEOS) |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePanels) && |
- PanelManager::ShouldUsePanels(extension_id)) { |
+ if (PanelManager::ShouldUsePanels(extension_id)) { |
ShellWindow::CreateParams create_params; |
create_params.window_type = ShellWindow::WINDOW_TYPE_V1_PANEL; |
create_params.bounds = window_bounds; |