| Index: chrome/browser/app_controller_mac.mm
|
| diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
|
| index b2476250e29d6a74f1375f980a97c140391861e2..4661a52ed758f9d6e98027849193c8fabe32fa46 100644
|
| --- a/chrome/browser/app_controller_mac.mm
|
| +++ b/chrome/browser/app_controller_mac.mm
|
| @@ -158,9 +158,10 @@ void RecordLastRunAppBundlePath() {
|
| // or a unit test.)
|
| FilePath appBundlePath =
|
| chrome::GetVersionedDirectory().DirName().DirName().DirName();
|
| - CFPreferencesSetAppValue(app_mode::kLastRunAppBundlePathPrefsKey,
|
| - base::SysUTF8ToCFStringRef(appBundlePath.value()),
|
| - BaseBundleID_CFString());
|
| + CFPreferencesSetAppValue(
|
| + base::mac::NSToCFCast(app_mode::kLastRunAppBundlePathPrefsKey),
|
| + base::SysUTF8ToCFStringRef(appBundlePath.value()),
|
| + BaseBundleID_CFString());
|
|
|
| // Sync after a delay avoid I/O contention on startup; 1500 ms is plenty.
|
| BrowserThread::PostDelayedTask(BrowserThread::FILE, FROM_HERE,
|
|
|