Index: chrome/app/chrome_main_app_mode_mac.mm |
diff --git a/chrome/app/chrome_main_app_mode_mac.mm b/chrome/app/chrome_main_app_mode_mac.mm |
index 043f87fd21fa1ffca22fd9c93107c1444341e88e..a65a27ce157cd727444f042cbfc0da129293d816 100644 |
--- a/chrome/app/chrome_main_app_mode_mac.mm |
+++ b/chrome/app/chrome_main_app_mode_mac.mm |
@@ -7,8 +7,6 @@ |
// passing the appropriate data. This is the entry point into the framework for |
// those app bundles. |
-#include <string> // TODO(viettrungluu): only needed for temporary hack |
- |
#include "base/basictypes.h" |
#include "base/command_line.h" |
#include "base/file_path.h" |
@@ -49,6 +47,8 @@ int ChromeAppModeStart(const app_mode::ChromeAppModeInfo* info) { |
base::mac::SetOverrideFrameworkBundlePath( |
chrome_versioned_path->Append(chrome::kFrameworkName)); |
+ app_mode::SetAppModeInfo(info); |
+ |
CommandLine command_line(CommandLine::NO_PROGRAM); |
command_line.AppendSwitch(info->argv[0]); |