Index: chrome/browser/extensions/extension_install_ui.cc |
diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc |
index 620cc01c2969c32db035b5f875f32f065860abfb..860a24fd2cf7232afe920f957573732af3de51fe 100644 |
--- a/chrome/browser/extensions/extension_install_ui.cc |
+++ b/chrome/browser/extensions/extension_install_ui.cc |
@@ -205,8 +205,7 @@ void ExtensionInstallUI::OnInstallSuccess(Extension* extension) { |
std::string hash_params = "app-id="; |
hash_params += extension->id(); |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kAppLauncherForNewTab)) { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAppsPanel)) { |
#if defined(TOOLKIT_VIEWS) |
AppLauncher::ShowForNewTab(browser, hash_params); |
#else |