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

Issue 3003133002: Fix an implicit narrowing conversion found by MSVC (Closed)

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

Description

Fix an implicit narrowing conversion found by MSVC Followup to https://codereview.webrtc.org/2999363002/ BUG=None Review-Url: https://codereview.webrtc.org/3003133002 Cr-Commit-Position: refs/heads/master@{#19456} Committed: https://chromium.googlesource.com/external/webrtc/+/0826fb2b3594ea49238da3800056ea20f1c82c97

Patch Set 1 #

Total comments: 1

Patch Set 2 : Roll chromium_revision d323a482ee..2b0a69bac5 (494468:496286) #

Patch Set 3 : Fix an implicit narrowing conversion found by MSVC #

Patch Set 4 : Roll chromium_revision d323a482ee..2b0a69bac5 (494468:496286) #

Patch Set 5 : checked_cast #

Patch Set 6 : fix another file #

Patch Set 7 : with roll #

Total comments: 4

Patch Set 8 : Address comments #

Patch Set 9 : no roll #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M webrtc/api/audio_codecs/L16/audio_encoder_L16.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/call/rtp_demuxer_unittest.cc View 1 2 3 4 5 6 7 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
oprypin_webrtc
Karl fixed one instance of the problem but then the next one appeared. It's really ...
3 years, 4 months ago (2017-08-22 14:37:13 UTC) #4
kwiberg-webrtc
lgtm, if you change to checked_cast https://codereview.webrtc.org/3003133002/diff/1/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc File webrtc/api/audio_codecs/L16/audio_encoder_L16.cc (right): https://codereview.webrtc.org/3003133002/diff/1/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc#newcode24 webrtc/api/audio_codecs/L16/audio_encoder_L16.cc:24: config.num_channels = rtc::dchecked_cast<size_t>(format.num_channels); ...
3 years, 4 months ago (2017-08-22 17:40:24 UTC) #5
oprypin_webrtc
On 2017/08/22 17:40:24, kwiberg-webrtc wrote: > lgtm, if you change to checked_cast > > https://codereview.webrtc.org/3003133002/diff/1/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc ...
3 years, 4 months ago (2017-08-22 17:44:07 UTC) #6
kwiberg-webrtc
On 2017/08/22 17:44:07, oprypin_webrtc wrote: > On 2017/08/22 17:40:24, kwiberg-webrtc wrote: > > lgtm, if ...
3 years, 4 months ago (2017-08-22 17:47:15 UTC) #7
oprypin_webrtc
OK so now the next error appeared. Someone needs to go through these on a ...
3 years, 4 months ago (2017-08-22 18:28:37 UTC) #9
oprypin_webrtc
On 2017/08/22 18:28:37, oprypin_webrtc wrote: > OK so now the next error appeared. Someone needs ...
3 years, 4 months ago (2017-08-22 19:15:29 UTC) #10
kwiberg-webrtc
lgtm, but see suggestions https://codereview.webrtc.org/3003133002/diff/140001/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc File webrtc/api/audio_codecs/L16/audio_encoder_L16.cc (right): https://codereview.webrtc.org/3003133002/diff/140001/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc#newcode16 webrtc/api/audio_codecs/L16/audio_encoder_L16.cc:16: #include "webrtc/rtc_base/ptr_util.h" #include safe_conversions.h here? ...
3 years, 4 months ago (2017-08-22 20:06:05 UTC) #12
oprypin_webrtc
https://codereview.webrtc.org/3003133002/diff/140001/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc File webrtc/api/audio_codecs/L16/audio_encoder_L16.cc (right): https://codereview.webrtc.org/3003133002/diff/140001/webrtc/api/audio_codecs/L16/audio_encoder_L16.cc#newcode16 webrtc/api/audio_codecs/L16/audio_encoder_L16.cc:16: #include "webrtc/rtc_base/ptr_util.h" On 2017/08/22 20:06:05, kwiberg-webrtc wrote: > #include ...
3 years, 4 months ago (2017-08-22 20:28:39 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/3003133002/170001
3 years, 4 months ago (2017-08-22 20:29:57 UTC) #16
commit-bot: I haz the power
3 years, 4 months ago (2017-08-22 20:57:57 UTC) #19
Message was sent while issue was closed.
Committed patchset #9 (id:170001) as
https://chromium.googlesource.com/external/webrtc/+/0826fb2b3594ea49238da3800...

Powered by Google App Engine
This is Rietveld 408576698