diff options
author | milligan@google.com <milligan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 01:16:09 +0000 |
---|---|---|
committer | milligan@google.com <milligan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-09 01:16:09 +0000 |
commit | 6f238c8599a698e8fc2720960e137b3326dacc5e (patch) | |
tree | db17aef60fc9ea938b2497ce3d3494e675524a1e /o3d/plugin | |
parent | 9588a0b51dcc7c1e98b54faa2e46d99d50b2fde8 (diff) | |
download | chromium_src-6f238c8599a698e8fc2720960e137b3326dacc5e.zip chromium_src-6f238c8599a698e8fc2720960e137b3326dacc5e.tar.gz chromium_src-6f238c8599a698e8fc2720960e137b3326dacc5e.tar.bz2 |
Add comment explaining why we don't initialize
breakpad when loaded in the Chrome browser on
Mac.
Review URL: http://codereview.chromium.org/6639011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin')
-rw-r--r-- | o3d/plugin/mac/plugin_mac.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/o3d/plugin/mac/plugin_mac.mm b/o3d/plugin/mac/plugin_mac.mm index 604bcfe..509a465 100644 --- a/o3d/plugin/mac/plugin_mac.mm +++ b/o3d/plugin/mac/plugin_mac.mm @@ -329,6 +329,9 @@ bool ExceptionCallback(int exception_type, } void InitializeBreakpad() { + // Don't initialize if we are running in the Chrome browser + // since Chrome already runs Breakpad and on Mac the two + // instances collide and break crash dump reporting. if (!gBreakpadRef && !IsBrowserChrome()) { NSBundle* bundle = [NSBundle bundleWithIdentifier:@"com.google.o3d"]; NSDictionary* info = [bundle infoDictionary]; |