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

Issue 2535643002: Replace some asserts with DCHECKs (Closed)

Created:
4 years ago by kwiberg-webrtc
Modified:
4 years ago
Reviewers:
ossu
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc, minyue-webrtc, aluebs-webrtc, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace some asserts with DCHECKs NOPRESUBMIT=true BUG=webrtc:6779 Committed: https://crrev.com/b890c95c33d2fceb8670625ae3e1783bb9bc9a44 Cr-Commit-Position: refs/heads/master@{#15295}

Patch Set 1 : Replace some asserts with DCHECKs #

Total comments: 5

Patch Set 2 : Don't use the enum hack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -50 lines) Patch
M webrtc/common_audio/fir_filter.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/common_audio/fir_filter_neon.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/common_audio/fir_filter_sse.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/common_audio/resampler/sinc_resampler.cc View 1 6 chunks +12 lines, -10 lines 0 comments Download
M webrtc/common_types.h View 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/common_video/libyuv/webrtc_libyuv.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M webrtc/common_video/video_render_frames.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_device/dummy/file_audio_device.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer_x11.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/frame_generator.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/test/gl/gl_renderer.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/test/win/d3d_renderer.cc View 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 33 (23 generated)
kwiberg-webrtc
common_audio, common_video, common_types.h, and all the files that were illegally relying on them to do ...
4 years ago (2016-11-28 05:17:48 UTC) #17
ossu
https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h File webrtc/common_audio/resampler/sinc_resampler.h (right): https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h#newcode41 webrtc/common_audio/resampler/sinc_resampler.h:41: enum : size_t { kKernelSize = 32 }; On ...
4 years ago (2016-11-28 14:54:25 UTC) #18
kwiberg-webrtc
https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h File webrtc/common_audio/resampler/sinc_resampler.h (right): https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h#newcode41 webrtc/common_audio/resampler/sinc_resampler.h:41: enum : size_t { kKernelSize = 32 }; On ...
4 years ago (2016-11-28 23:01:47 UTC) #19
ossu
https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h File webrtc/common_audio/resampler/sinc_resampler.h (right): https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h#newcode41 webrtc/common_audio/resampler/sinc_resampler.h:41: enum : size_t { kKernelSize = 32 }; On ...
4 years ago (2016-11-29 10:23:48 UTC) #20
kwiberg-webrtc
https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h File webrtc/common_audio/resampler/sinc_resampler.h (right): https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h#newcode41 webrtc/common_audio/resampler/sinc_resampler.h:41: enum : size_t { kKernelSize = 32 }; On ...
4 years ago (2016-11-29 10:31:15 UTC) #21
kwiberg-webrtc
On 2016/11/29 10:31:15, kwiberg-webrtc wrote: > https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h > File webrtc/common_audio/resampler/sinc_resampler.h (right): > > https://codereview.webrtc.org/2535643002/diff/40001/webrtc/common_audio/resampler/sinc_resampler.h#newcode41 > ...
4 years ago (2016-11-29 10:55:45 UTC) #24
ossu
Great, LGTM!
4 years ago (2016-11-29 13:25:04 UTC) #27
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/2535643002/60001
4 years ago (2016-11-29 13:30:25 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years ago (2016-11-29 13:30:44 UTC) #31
commit-bot: I haz the power
4 years ago (2016-11-29 13:30:54 UTC) #33
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b890c95c33d2fceb8670625ae3e1783bb9bc9a44
Cr-Commit-Position: refs/heads/master@{#15295}

Powered by Google App Engine
This is Rietveld 408576698