From 139ec96dc6f26a24d8812aad4470f00b36ecee52 Mon Sep 17 00:00:00 2001 From: "jeremy@chromium.org" Date: Fri, 22 May 2009 02:02:00 +0000 Subject: 1)When we enabled breakpad on first run we weren't correctly setting the process type. 2)Fixed another logic inversion in SetActiveRendererURL. 3)Change IsCrashReporterEnabled-> IsCrashReporterDisabled to prevent future confusion since that was the question all the callers where askign anyway. Review URL: http://codereview.chromium.org/113737 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16707 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/first_run_mac.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/first_run_mac.mm') diff --git a/chrome/browser/first_run_mac.mm b/chrome/browser/first_run_mac.mm index 41bc9a5..70d1afd 100644 --- a/chrome/browser/first_run_mac.mm +++ b/chrome/browser/first_run_mac.mm @@ -35,7 +35,7 @@ void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) { // but display a confirmation dialog before sending a crash report so we // respect a user's privacy while still getting any crashes that might happen // before this point. Then remove the need for that dialog here. - DCHECK(!IsCrashReporterEnabled()); + DCHECK(IsCrashReporterDisabled()); scoped_nsobject dialog( [[FirstRunDialogController alloc] init]); @@ -49,6 +49,7 @@ void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton) { // stats, enable breakpad. if (stats_enabled) { InitCrashReporter(); + InitCrashProcessInfo(); } #endif // defined(GOOGLE_CHROME_BUILD) } -- cgit v1.1