| Index: chrome/browser/extensions/api/tabs/tabs.cc
|
| diff --git a/chrome/browser/extensions/api/tabs/tabs.cc b/chrome/browser/extensions/api/tabs/tabs.cc
|
| index 2e069b65cb5a57a4be5c3006c086785fe7444e8b..aeb682b1a473434db5c33ded1c422ebe417a3cfc 100644
|
| --- a/chrome/browser/extensions/api/tabs/tabs.cc
|
| +++ b/chrome/browser/extensions/api/tabs/tabs.cc
|
| @@ -575,8 +575,7 @@ bool CreateWindowFunction::RunImpl() {
|
| std::string title =
|
| web_app::GenerateApplicationNameFromExtensionId(extension_id);
|
| #if !defined(USE_ASH)
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kBrowserlessPanels)) {
|
| + if (PanelManager::UseBrowserlessPanels()) {
|
| // Note: Panels ignore all but the first url provided.
|
| Panel* panel = PanelManager::GetInstance()->CreatePanel(
|
| title, window_profile, urls[0], panel_bounds.size());
|
|
|