| Index: chrome/app/app_mode_loader_mac.mm
|
| diff --git a/chrome/app/app_mode_loader_mac.mm b/chrome/app/app_mode_loader_mac.mm
|
| index dc25c4bb299970007b587ba342622e5327131e8e..51d4aa8b5eee6b9727e7931c041d05f8a63afb6d 100644
|
| --- a/chrome/app/app_mode_loader_mac.mm
|
| +++ b/chrome/app/app_mode_loader_mac.mm
|
| @@ -16,6 +16,7 @@
|
| #include "base/file_path.h"
|
| #include "base/file_util.h"
|
| #include "base/logging.h"
|
| +#include "base/mac/foundation_util.h"
|
| #include "base/mac/scoped_nsautorelease_pool.h"
|
| #include "base/sys_string_conversions.h"
|
| #import "chrome/common/mac/app_mode_chrome_locator.h"
|
| @@ -92,6 +93,9 @@ void LoadFramework(void** cr_dylib, app_mode::ChromeAppModeInfo* info) {
|
| [info_plist objectForKey:app_mode::kCrAppModeShortcutURLKey]);
|
| CHECK(info->app_mode_url.size()) << "couldn't get app shortcut URL";
|
|
|
| + info->user_data_dir = base::mac::NSStringToFilePath(
|
| + [info_plist objectForKey:app_mode::kCrAppModeUserDataDirKey]);
|
| +
|
| // Open the framework.
|
| *cr_dylib = dlopen(framework_shlib_path.value().c_str(), RTLD_LAZY);
|
| CHECK(cr_dylib) << "couldn't load framework: " << dlerror();
|
|
|