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

Issue 2989813002: Remove DCHECK from Call's ctor that could never fail (Closed)

Created:
3 years, 4 months ago by eladalon
Modified:
3 years, 4 months ago
Reviewers:
the sun, danilchap
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove DCHECK from Call's ctor that could never fail I don't think this line could never conceivably fail - if the ctor has reached that point, the object fit in memory, and its members have all been allocated legal memory addresses, none of which may be 0x00. BUG=None Review-Url: https://codereview.webrtc.org/2989813002 Cr-Commit-Position: refs/heads/master@{#19176} Committed: https://chromium.googlesource.com/external/webrtc/+/eaec1182402d6aeac42fb2b36a758005f094e769

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -1 line) Patch
M webrtc/call/call.cc View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 11 (4 generated)
eladalon
PTAL
3 years, 4 months ago (2017-07-27 14:14:38 UTC) #2
eladalon
By the way, it might be that the intention was to use RTC_DCHECK_RUN_ON, but that ...
3 years, 4 months ago (2017-07-27 14:25:58 UTC) #3
danilchap
lgtm https://codereview.webrtc.org/2989813002/diff/1/webrtc/call/call.cc File webrtc/call/call.cc (left): https://codereview.webrtc.org/2989813002/diff/1/webrtc/call/call.cc#oldcode420 webrtc/call/call.cc:420: RTC_DCHECK(&configuration_thread_checker_); my guess RTC_DCHECK_RUN_ON was intended instead - ...
3 years, 4 months ago (2017-07-27 14:31:54 UTC) #4
eladalon
Great minds think alike. :-) Fredrick, could you owner-approve?
3 years, 4 months ago (2017-07-27 15:30:31 UTC) #5
the sun
lgtm
3 years, 4 months ago (2017-07-28 07:06:05 UTC) #6
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/2989813002/1
3 years, 4 months ago (2017-07-28 08:49:20 UTC) #8
commit-bot: I haz the power
3 years, 4 months ago (2017-07-28 09:25:16 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/eaec1182402d6aeac42fb2b36...

Powered by Google App Engine
This is Rietveld 408576698