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

Issue 10414072: Fix ENABLE_THREAD_CHECKER (Closed)

Created:
8 years, 7 months ago by ukai
Modified:
8 years, 7 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org, hamaji
Visibility:
Public.

Description

Fix ENABLE_THREAD_CHECKER We've found base/threading/thread_checker_impl.h was included when NDEBUG was defined (and DCHECK_ALWAYS_ON was not defined) with cl.exe. For example, > type a.c #define FOO #define ENABLE (!defined(FOO)) #if ENABLE enabled #endif > cl /nologo /E a.c a.c #line 1 "a.c" enabled #line 6 "a.c" BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138755

Patch Set 1 #

Patch Set 2 : define 0 for false case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M base/threading/thread_checker.h View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
ukai
8 years, 7 months ago (2012-05-23 07:14:15 UTC) #1
Jói
LGTM Wow, I feel bad about this bug, thanks for fixing it. In my initial ...
8 years, 7 months ago (2012-05-23 09:38:42 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ukai@chromium.org/10414072/2001
8 years, 7 months ago (2012-05-23 10:06:55 UTC) #3
commit-bot: I haz the power
Presubmit check for 10414072-2001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-23 10:06:58 UTC) #4
ukai
8 years, 7 months ago (2012-05-23 10:09:57 UTC) #5
jam
lgtm
8 years, 7 months ago (2012-05-23 17:24:21 UTC) #6
jam
actually, i thought this was thread_restrictions.h. i'm not an owner for thread_checker.h
8 years, 7 months ago (2012-05-23 17:24:45 UTC) #7
jar (doing other things)
lgtm
8 years, 7 months ago (2012-05-23 18:22:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ukai@chromium.org/10414072/2001
8 years, 7 months ago (2012-05-23 23:53:12 UTC) #9
commit-bot: I haz the power
8 years, 7 months ago (2012-05-24 08:59:39 UTC) #10
Change committed as 138755

Powered by Google App Engine
This is Rietveld 408576698