Index: chrome/app_shim/app_mode_loader_mac.mm |
diff --git a/chrome/app_shim/app_mode_loader_mac.mm b/chrome/app_shim/app_mode_loader_mac.mm |
index 1d55ffcadb53e1ea6d7098fe7f141681477934ff..e4a3686f1a693d4c20903fff5b58cb95b208b88a 100644 |
--- a/chrome/app_shim/app_mode_loader_mac.mm |
+++ b/chrome/app_shim/app_mode_loader_mac.mm |
@@ -17,7 +17,7 @@ |
#include "base/files/file_util.h" |
#include "base/logging.h" |
#include "base/mac/foundation_util.h" |
-#include "base/mac/launch_services_util.h" |
+#import "base/mac/launch_services_util.h" |
#include "base/mac/scoped_nsautorelease_pool.h" |
#include "base/process/launch.h" |
#include "base/strings/string_number_conversions.h" |
@@ -182,8 +182,7 @@ int LoadFrameworkAndStart(app_mode::ChromeAppModeInfo* info) { |
command_line.AppendSwitchASCII(switches::kAppId, info->app_mode_id); |
} |
// Launch the executable directly since base::mac::OpenApplicationWithPath |
- // uses LSOpenApplication which doesn't pass command line arguments if the |
- // application is already running. |
+ // doesn't pass command line arguments if the application is already running. |
if (!base::LaunchProcess(command_line, base::LaunchOptions()).IsValid()) { |
LOG(ERROR) << "Could not launch Chrome: " |
<< command_line.GetCommandLineString(); |