diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 16:55:59 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 16:55:59 +0000 |
commit | a9b1f17f3ba502396dbc41d42a795d6672f8b750 (patch) | |
tree | 566f7e7212edfef1a1c05f2b3ec34c3a3c9631f8 /chrome/app/breakpad_mac.mm | |
parent | 8d66f419e531fc1362b698769e7bd0cee31bd874 (diff) | |
download | chromium_src-a9b1f17f3ba502396dbc41d42a795d6672f8b750.zip chromium_src-a9b1f17f3ba502396dbc41d42a795d6672f8b750.tar.gz chromium_src-a9b1f17f3ba502396dbc41d42a795d6672f8b750.tar.bz2 |
Fix Breakpad-enabled builds on the Mac.
.../src/chrome/app/breakpad_mac.mm: In function ‘void InitCrashReporter()’:
.../src/chrome/app/breakpad_mac.mm:56: error: ‘parsed_command_line’ was not declared in this scope
IMPORTANT NOTE: When you're making changes to files that aren't part of the
normal build, you MUST test them. The next time I see an obvious case of
"oops, I never actually built that file," I'm just going to back it out. As
for this instance, I'm fixing it now, but you MUST build and test your change
locally. We can't afford accidentally losing Breakpad coverage. I've already
seen an embarrassing number of instances of "oops, Breakpad's broken" but we've
fortunately caught them all before integrating them into a release.
BUG=It doesn't build
TEST=Does it build now?
Review URL: http://codereview.chromium.org/178056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25041 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 d295d43..11d9c00 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -53,7 +53,7 @@ void InitCrashReporter() { CommandLine::ForCurrentProcess()-> HasSwitch(switches::kEnableCrashReporter); - if (parsed_command_line.HasSwitch(switches::kDisableBreakpad)) { + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableBreakpad)) { enable_breakpad = false; } |