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

Issue 1862163002: WebKit MediaStream cleanup: ASSERT-->DCHECK and ASSERT_NOT_REACHED-->NOTREACHED etc (Closed)

Created:
4 years, 8 months ago by mcasas
Modified:
4 years, 8 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews, tommyw+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebKit MediaStream cleanup: ASSERT-->DCHECK and ASSERT_NOT_REACHED-->NOTREACHED etc Blink now supports DCHECK()s and relatives, this CL replaces: ASSERT --> DCHECK ASSERT_NOT_REACHED --> NOTREACHED ASSERT_WITH_SECURITY_IMPLICATION --> SECURITY_DCHECK This change RELEASE_ASSERT --> CHECK is not exercised due to http://crbug.com/599867 but a TODO is left for that. See bug for + context. BUG=596760 TBR=peter@chromium.org Committed: https://crrev.com/629fcdb3ac86ab9ebd8634ee2c6e9a5b7ade479f Cr-Commit-Position: refs/heads/master@{#385926}

Patch Set 1 #

Patch Set 2 : two erroneous #

Patch Set 3 : Reverted CHECK --> RELEASE_ASSERT and added TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -82 lines) Patch
M third_party/WebKit/Source/modules/mediastream/MediaDeviceInfo.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevices.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaDevicesRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaErrorState.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStream.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamRegistry.cpp View 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp View 1 2 5 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/MediaStreamTrackSourcesRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/NavigatorMediaStream.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/NavigatorUserMediaError.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCDTMFToneChangeEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp View 21 chunks +37 lines, -37 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestPromiseImpl.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCStatsRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCStatsResponse.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCVoidRequestImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/RTCVoidRequestPromiseImpl.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/SourceInfo.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/mediastream/URLMediaStream.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediastream/UserMediaRequest.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
mcasas
peter@ cleanup CL PTAL
4 years, 8 months ago (2016-04-06 18:25:15 UTC) #3
haraken
The RELEASE_ASSERT --> CHECK replacement caused performance regressions (https://bugs.chromium.org/p/chromium/issues/detail?id=599867), so I might want to make ...
4 years, 8 months ago (2016-04-06 23:43:59 UTC) #4
haraken
On 2016/04/06 23:43:59, haraken wrote: > The RELEASE_ASSERT --> CHECK replacement caused performance regressions > ...
4 years, 8 months ago (2016-04-06 23:44:21 UTC) #5
mcasas
On 2016/04/06 23:44:21, haraken wrote: > On 2016/04/06 23:43:59, haraken wrote: > > The RELEASE_ASSERT ...
4 years, 8 months ago (2016-04-07 00:03:45 UTC) #6
mcasas
haraken@ can you RS this? I reverted the RELEASE_ASSERT change (left a TODO)
4 years, 8 months ago (2016-04-07 21:41:36 UTC) #10
haraken
LGTM
4 years, 8 months ago (2016-04-07 23:28:14 UTC) #11
mcasas
On 2016/04/07 23:28:14, haraken wrote: > LGTM (Sending peter@ to TBR= since I don't think ...
4 years, 8 months ago (2016-04-07 23:40:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862163002/40001
4 years, 8 months ago (2016-04-07 23:41:08 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-07 23:47:13 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 23:48:22 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/629fcdb3ac86ab9ebd8634ee2c6e9a5b7ade479f
Cr-Commit-Position: refs/heads/master@{#385926}

Powered by Google App Engine
This is Rietveld 408576698