| Index: chrome/browser/shell_integration.cc
|
| diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
|
| index 9590cbb713a7166f180dbd9d3a4633029d3dae8b..23d9fcb7514ae36b2e1c256a6cf07292c32fb081 100644
|
| --- a/chrome/browser/shell_integration.cc
|
| +++ b/chrome/browser/shell_integration.cc
|
| @@ -39,11 +39,10 @@ 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::kEnableExtensionApps) &&
|
| - !extension_app_id.empty()) {
|
| + if (cmd.HasSwitch(switches::kEnableApps) && !extension_app_id.empty()) {
|
| arguments_w += std::wstring(L"--") + ASCIIToWide(switches::kAppId) +
|
| L"=\"" + ASCIIToWide(UTF16ToASCII(extension_app_id)) + L"\" --" +
|
| - ASCIIToWide(switches::kEnableExtensionApps);
|
| + ASCIIToWide(switches::kEnableApps);
|
| } else {
|
| // Use '--app=url' instead of just 'url' to launch the browser with minimal
|
| // chrome.
|
|
|