Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Issue 1287043005: DCHECK_IS_ON needs ()'s (Closed)

Created:
5 years, 4 months ago by ncarter (slow)
Modified:
5 years, 4 months ago
CC:
crashpad-dev_chromium.org, danakj
Base URL:
https://chromium.googlesource.com/crashpad/crashpad.git@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

DCHECK_IS_ON needs () Found in the course of reintroducing this bug elsewhere R=danakj@chromium.org, mark@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/ad09fd1bc818ab0579daf7b0e5cc7b2b20225975

Patch Set 1 #

Patch Set 2 : Fix all the places #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M client/simple_string_dictionary_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M util/misc/initialization_state_dcheck.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M util/misc/initialization_state_dcheck.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M util/misc/initialization_state_dcheck_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
ncarter (slow)
rsesek: ptal
5 years, 4 months ago (2015-08-12 20:54:32 UTC) #2
Mark Mentovai
DCHECK_IS_ON appears elsewhere in the Crashpad codebase. Can you fix all of them?
5 years, 4 months ago (2015-08-12 21:00:27 UTC) #4
ncarter (slow)
Good catch. Fixed all the places! (I'd only seen the one because my regex was ...
5 years, 4 months ago (2015-08-12 23:35:21 UTC) #5
ncarter (slow)
and btw:the old behavior #if DCHECK_IS_ON Was always false. I verified this by adding #errors. ...
5 years, 4 months ago (2015-08-12 23:39:33 UTC) #6
ncarter (slow)
+danakj (as an fyi) I'm going on vacation starting in ten minutes, so y'all should ...
5 years, 4 months ago (2015-08-12 23:50:14 UTC) #7
danakj
LGTM
5 years, 4 months ago (2015-08-13 00:06:35 UTC) #9
Mark Mentovai
LGTM
5 years, 4 months ago (2015-08-13 00:44:57 UTC) #10
Mark Mentovai
Committed patchset #2 (id:20001) manually as ad09fd1bc818ab0579daf7b0e5cc7b2b20225975 (presubmit successful).
5 years, 4 months ago (2015-08-13 00:47:43 UTC) #11
Mark Mentovai
5 years, 4 months ago (2015-08-13 00:50:55 UTC) #12
Message was sent while issue was closed.
Thanks for the patch, Nick. Have a great vacation!

Powered by Google App Engine
This is Rietveld 408576698