| Index: chrome/browser/mac/install_from_dmg.mm
|
| diff --git a/chrome/browser/mac/install_from_dmg.mm b/chrome/browser/mac/install_from_dmg.mm
|
| index 64473646bf6e9268afc315069c73d68b21268826..a923252ccec74055622a8e50b1d21babf4b8d9b3 100644
|
| --- a/chrome/browser/mac/install_from_dmg.mm
|
| +++ b/chrome/browser/mac/install_from_dmg.mm
|
| @@ -235,7 +235,7 @@ bool IsPathOnReadOnlyDiskImage(const char path[],
|
| // the disk image's device, in "diskNsM" form.
|
| bool IsAppRunningFromReadOnlyDiskImage(std::string* dmg_bsd_device_name) {
|
| return IsPathOnReadOnlyDiskImage(
|
| - [[[NSBundle mainBundle] bundlePath] fileSystemRepresentation],
|
| + [[base::mac::OuterBundle() bundlePath] fileSystemRepresentation],
|
| dmg_bsd_device_name);
|
| }
|
|
|
| @@ -425,7 +425,7 @@ bool MaybeInstallFromDiskImage() {
|
| return false;
|
| }
|
|
|
| - NSString* source_path = [[NSBundle mainBundle] bundlePath];
|
| + NSString* source_path = [base::mac::OuterBundle() bundlePath];
|
| NSString* application_name = [source_path lastPathComponent];
|
| NSString* target_path =
|
| [application_directory stringByAppendingPathComponent:application_name];
|
|
|