diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 00:57:10 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-17 00:57:10 +0000 |
commit | 3cdb2f75f8ee53dceaa4f19ae6282e41fde649cc (patch) | |
tree | 365b0d9305d55f717eee0b5e8d969fd8ef4800a7 /chrome/app/breakpad_mac.mm | |
parent | 12b4b77612fff2dffeb229107e6df709e8fc2db9 (diff) | |
download | chromium_src-3cdb2f75f8ee53dceaa4f19ae6282e41fde649cc.zip chromium_src-3cdb2f75f8ee53dceaa4f19ae6282e41fde649cc.tar.gz chromium_src-3cdb2f75f8ee53dceaa4f19ae6282e41fde649cc.tar.bz2 |
Flip inverted logic that caused Breakpad to never initialize after r23509.
BUG=19204
TEST=When reporting is enabled, Breakpad should pick up browser and renderer
process crashes;
When reporting is enabled, renderer should not log messages like
[mmdd/hhmmss:WARNING:/path/to/breakpad_mac.mm(57)] Breakpad disabled;
When reporting is disabled, browser and renderer should both log these
messages.
Review URL: http://codereview.chromium.org/172037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_mac.mm')
-rw-r--r-- | chrome/app/breakpad_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm index 8a36f16..142a46e 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -47,7 +47,7 @@ void InitCrashReporter() { NSBundle* main_bundle = [NSBundle mainBundle]; NSDictionary* info_dictionary = [main_bundle infoDictionary]; bool is_browser = [[info_dictionary objectForKey:@"LSUIElement"] - isEqualToString:@"1"] ? true : false; + isEqualToString:@"1"] ? false : true; bool enable_breakpad = is_browser ? GoogleUpdateSettings::GetCollectStatsConsent() : CommandLine::ForCurrentProcess()-> |