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

Issue 1982593003: Remove bogus DCHECK in content::UserMediaClientImpl and update unit test (Closed)

Created:
4 years, 7 months ago by Guido Urdaneta
Modified:
4 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove bogus DCHECK in content::UserMediaClientImpl and add unit test. The DCHECK verifies that a reply must correspond to a live request, but that is not necessarily true due to device changes that may occur concurrently with the request. BUG=607179 Committed: https://crrev.com/5da650481866cad8802589a1178c3537df79f437 Cr-Commit-Position: refs/heads/master@{#394144}

Patch Set 1 #

Total comments: 4

Patch Set 2 : phoglund's nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M content/renderer/media/user_media_client_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/user_media_client_impl_unittest.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
Guido Urdaneta
Hi, PTAL
4 years, 7 months ago (2016-05-17 07:33:04 UTC) #4
phoglund_chromium
lgtm https://codereview.chromium.org/1982593003/diff/1/content/renderer/media/user_media_client_impl_unittest.cc File content/renderer/media/user_media_client_impl_unittest.cc (right): https://codereview.chromium.org/1982593003/diff/1/content/renderer/media/user_media_client_impl_unittest.cc#newcode267 content/renderer/media/user_media_client_impl_unittest.cc:267: // There may be repeated replies due to ...
4 years, 7 months ago (2016-05-17 07:56:26 UTC) #5
Guido Urdaneta
https://codereview.chromium.org/1982593003/diff/1/content/renderer/media/user_media_client_impl_unittest.cc File content/renderer/media/user_media_client_impl_unittest.cc (right): https://codereview.chromium.org/1982593003/diff/1/content/renderer/media/user_media_client_impl_unittest.cc#newcode267 content/renderer/media/user_media_client_impl_unittest.cc:267: // There may be repeated replies due to device ...
4 years, 7 months ago (2016-05-17 08:05:43 UTC) #6
perkj_chrome
lgtm
4 years, 7 months ago (2016-05-17 15:23:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1982593003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1982593003/20001
4 years, 7 months ago (2016-05-17 15:25:27 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-17 16:33:06 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 16:35:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5da650481866cad8802589a1178c3537df79f437
Cr-Commit-Position: refs/heads/master@{#394144}

Powered by Google App Engine
This is Rietveld 408576698