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

Issue 2706263002: Improved readability and DCHECKing in AudioVector::[] (Closed)

Created:
3 years, 10 months ago by hlundin-webrtc
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, peah-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Improved readability and DCHECKing in AudioVector::[] This is a follow-up to https://codereview.webrtc.org/2700633003, where post-commit comments suggested these changes. BUG=webrtc:7159 Review-Url: https://codereview.webrtc.org/2706263002 Cr-Commit-Position: refs/heads/master@{#16771} Committed: https://chromium.googlesource.com/external/webrtc/+/5650a7d1c41a264a0da15c3bb17d2c14335fcc27

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M webrtc/modules/audio_coding/neteq/audio_vector.h View 1 chunk +7 lines, -3 lines 2 comments Download

Messages

Total messages: 15 (6 generated)
hlundin-webrtc
PTAL FYI: This change seems to produce exactly the same compiler output as the old ...
3 years, 10 months ago (2017-02-21 17:01:56 UTC) #2
kwiberg-webrtc
lgtm
3 years, 10 months ago (2017-02-21 21:17:13 UTC) #3
nisse-webrtc
lgtm. One note on the overflow check, but I have no concrete suggestion for changes. ...
3 years, 10 months ago (2017-02-22 07:48:40 UTC) #4
kwiberg-webrtc
https://codereview.webrtc.org/2706263002/diff/1/webrtc/modules/audio_coding/neteq/audio_vector.h File webrtc/modules/audio_coding/neteq/audio_vector.h (right): https://codereview.webrtc.org/2706263002/diff/1/webrtc/modules/audio_coding/neteq/audio_vector.h#newcode133 webrtc/modules/audio_coding/neteq/audio_vector.h:133: RTC_DCHECK_GE(ix, index); // Check for overflow. On 2017/02/22 07:48:40, ...
3 years, 10 months ago (2017-02-22 08:25:49 UTC) #5
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/2706263002/1
3 years, 10 months ago (2017-02-22 09:53:26 UTC) #7
hlundin-webrtc
On 2017/02/22 08:25:49, kwiberg-webrtc wrote: > https://codereview.webrtc.org/2706263002/diff/1/webrtc/modules/audio_coding/neteq/audio_vector.h > File webrtc/modules/audio_coding/neteq/audio_vector.h (right): > > https://codereview.webrtc.org/2706263002/diff/1/webrtc/modules/audio_coding/neteq/audio_vector.h#newcode133 > ...
3 years, 10 months ago (2017-02-22 09:56:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/21832)
3 years, 10 months ago (2017-02-22 10:25:38 UTC) #10
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/2706263002/1
3 years, 10 months ago (2017-02-22 11:42:29 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 11:45:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/5650a7d1c41a264a0da15c3bb...

Powered by Google App Engine
This is Rietveld 408576698