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

Issue 2389943003: Test RTC_DCHECK_IS_ON instead of checking DCHECK_ALWAYS_ON everywhere (Closed)

Created:
4 years, 2 months ago by kwiberg-webrtc
Modified:
4 years, 2 months ago
Reviewers:
ossu
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, henrika_webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, sdk-team_agora.io, peah-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Test RTC_DCHECK_IS_ON instead of checking DCHECK_ALWAYS_ON everywhere The former is always defined (by webrtc/base/checks.h) to either 0 or 1, whereas the latter isn't necessarily defined. This is a re-land of https://codereview.webrtc.org/2384693002, which broke Chromium. We re-land without changing this CL at all, because the thing that needed fixing was in Chromium: https://codereview.chromium.org/2384263004. NOTRY=true TBR=ossu@webrtc.org BUG=webrtc:6451 Committed: https://crrev.com/5377bc77cc9ba2a61001e38f40e6d253aba961aa Cr-Commit-Position: refs/heads/master@{#14508}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -54 lines) Patch
M webrtc/api/statscollector.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/statstypes.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/buffer.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/checks.h View 2 chunks +7 lines, -4 lines 0 comments Download
M webrtc/base/criticalsection.h View 2 chunks +2 lines, -5 lines 0 comments Download
M webrtc/base/sequenced_task_checker.h View 1 chunk +2 lines, -11 lines 0 comments Download
M webrtc/base/sequenced_task_checker_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/stringutils.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/thread_checker.h View 1 chunk +2 lines, -11 lines 0 comments Download
M webrtc/base/thread_checker_unittest.cc View 1 chunk +1 line, -5 lines 0 comments Download
M webrtc/common_audio/resampler/push_resampler.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/media/sctp/sctpdataengine.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_device/android/opensles_player.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/utility/source/process_thread_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2389943003/1
4 years, 2 months ago (2016-10-04 20:36:30 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-04 20:46:59 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5377bc77cc9ba2a61001e38f40e6d253aba961aa Cr-Commit-Position: refs/heads/master@{#14508}
4 years, 2 months ago (2016-10-04 20:47:13 UTC) #8
ossu
4 years, 2 months ago (2016-10-05 09:46:42 UTC) #9
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698