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

Issue 2652653012: Replace the easy cases of VERIFY usage. (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace the easy cases of VERIFY usage. BUG=webrtc:6424 Review-Url: https://codereview.webrtc.org/2652653012 Cr-Commit-Position: refs/heads/master@{#16370} Committed: https://chromium.googlesource.com/external/webrtc/+/7ce109acd37ff1981e6b65eb96500700513743a5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rely on pointer --> bool conversion for RTC_DCHECK. #

Patch Set 3 : Let Peerconnection methods accept NULL observer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -18 lines) Patch
M webrtc/base/fakesslidentity.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/messagequeue.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/channel.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/pc/peerconnection.cc View 1 2 8 chunks +9 lines, -8 lines 0 comments Download
M webrtc/pc/webrtcsession.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
nisse-webrtc
PTAL. No sed scripting for these, I think they all have to be replaced case-by-case.
3 years, 11 months ago (2017-01-26 12:08:44 UTC) #3
kwiberg-webrtc
lgtm, but see comment https://codereview.webrtc.org/2652653012/diff/1/webrtc/pc/peerconnection.cc File webrtc/pc/peerconnection.cc (right): https://codereview.webrtc.org/2652653012/diff/1/webrtc/pc/peerconnection.cc#newcode1017 webrtc/pc/peerconnection.cc:1017: RTC_DCHECK(observer != nullptr); RTC_DCHECK_NE? Or ...
3 years, 10 months ago (2017-01-30 10:12:49 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/2652653012/diff/1/webrtc/pc/peerconnection.cc File webrtc/pc/peerconnection.cc (right): https://codereview.webrtc.org/2652653012/diff/1/webrtc/pc/peerconnection.cc#newcode1017 webrtc/pc/peerconnection.cc:1017: RTC_DCHECK(observer != nullptr); On 2017/01/30 10:12:49, kwiberg-webrtc wrote: > ...
3 years, 10 months ago (2017-01-30 10:58:41 UTC) #5
nisse-webrtc
Taylor, do you know if the peerconnection methods that take an observer argument need to ...
3 years, 10 months ago (2017-01-30 13:01:44 UTC) #7
Taylor Brandstetter
On 2017/01/30 13:01:44, nisse-webrtc wrote: > Taylor, do you know if the peerconnection methods that ...
3 years, 10 months ago (2017-01-30 15:48:02 UTC) #8
nisse-webrtc
On 2017/01/30 15:48:02, Taylor Brandstetter wrote: > On 2017/01/30 13:01:44, nisse-webrtc wrote: > > Taylor, ...
3 years, 10 months ago (2017-01-30 16:17:30 UTC) #9
Taylor Brandstetter
On 2017/01/30 16:17:30, nisse-webrtc wrote: > On 2017/01/30 15:48:02, Taylor Brandstetter wrote: > > On ...
3 years, 10 months ago (2017-01-30 16:40:36 UTC) #10
nisse-webrtc
On 2017/01/30 16:40:36, Taylor Brandstetter wrote: > On 2017/01/30 16:17:30, nisse-webrtc wrote: > > I.e, ...
3 years, 10 months ago (2017-01-31 07:58:32 UTC) #13
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/2652653012/40001
3 years, 10 months ago (2017-01-31 08:55:40 UTC) #18
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 08:58:00 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/7ce109acd37ff1981e6b65eb9...

Powered by Google App Engine
This is Rietveld 408576698