Index: chrome/browser/shell_integration.cc |
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc |
index 3ed45ae761f2f937a8c955d3883d5dd537cab0b6..c51ed25af9ae88ec9273be7bccefede6c0d0467a 100644 |
--- a/chrome/browser/shell_integration.cc |
+++ b/chrome/browser/shell_integration.cc |
@@ -42,7 +42,7 @@ std::string ShellIntegration::GetCommandLineArgumentsCommon(const GURL& url, |
// If |extension_app_id| is present, we use the kAppId switch rather than |
// the kApp switch (the launch url will be read from the extension app |
// during launch. |
- if (!cmd.HasSwitch(switches::kDisableApps) && !extension_app_id.empty()) { |
+ if (!extension_app_id.empty()) { |
arguments_w += std::wstring(L"--") + ASCIIToWide(switches::kAppId) + |
L"=\"" + ASCIIToWide(UTF16ToASCII(extension_app_id)); |
} else { |