| Index: chrome/common/chrome_version_info_mac.mm
|
| diff --git a/chrome/common/chrome_version_info_mac.mm b/chrome/common/chrome_version_info_mac.mm
|
| index aacfbf3a27f1c5309714c3288a9a37441feafe45..b0a1cda974c8f7c7d3f9b1aa551b103b240d50f4 100644
|
| --- a/chrome/common/chrome_version_info_mac.mm
|
| +++ b/chrome/common/chrome_version_info_mac.mm
|
| @@ -7,6 +7,7 @@
|
| #import <Cocoa/Cocoa.h>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/mac/bundle_locations.h"
|
| #include "base/sys_string_conversions.h"
|
|
|
| namespace chrome {
|
| @@ -14,9 +15,9 @@ namespace chrome {
|
| // static
|
| std::string VersionInfo::GetVersionStringModifier() {
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| - // Use the main application bundle and not the framework bundle. Keystone
|
| - // keys don't live in the framework.
|
| - NSBundle* bundle = [NSBundle mainBundle];
|
| + // Use the main Chrome application bundle and not the framework bundle.
|
| + // Keystone keys don't live in the framework.
|
| + NSBundle* bundle = base::mac::OuterBundle();
|
| NSString* channel = [bundle objectForInfoDictionaryKey:@"KSChannelID"];
|
|
|
| // Only ever return "", "unknown", "beta", "dev", or "canary" in a branded
|
|
|