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

Issue 167333004: Encrypted Media: No need to cancel NewKeyCB during tear down. (Closed)

Created:
6 years, 10 months ago by xhwang
Modified:
6 years, 10 months ago
Reviewers:
ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Encrypted Media: No need to cancel NewKeyCB during tear down. This is a follow up CL of r251277 Now we invalidate the weak pointers during Decrypting*::Stop(), so all callbacks are canceled. We don't need to manually cancel the NewKeyCB anymore. TEST=Media unittests updated. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251876

Patch Set 1 #

Total comments: 8

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -22 lines) Patch
M media/filters/decrypting_audio_decoder.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M media/filters/decrypting_audio_decoder_unittest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M media/filters/decrypting_demuxer_stream.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M media/filters/decrypting_demuxer_stream_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M media/filters/decrypting_video_decoder.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M media/filters/decrypting_video_decoder_unittest.cc View 1 3 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
xhwang
Another follow-up CL. PTAL.
6 years, 10 months ago (2014-02-14 22:25:52 UTC) #1
ddorwin
I don't think this is really related to the BUG=. LG, but I have some ...
6 years, 10 months ago (2014-02-14 23:08:29 UTC) #2
xhwang
comments addressed
6 years, 10 months ago (2014-02-14 23:30:36 UTC) #3
xhwang
Thanks! PTAL again. https://codereview.chromium.org/167333004/diff/1/media/filters/decrypting_video_decoder_unittest.cc File media/filters/decrypting_video_decoder_unittest.cc (right): https://codereview.chromium.org/167333004/diff/1/media/filters/decrypting_video_decoder_unittest.cc#newcode93 media/filters/decrypting_video_decoder_unittest.cc:93: .WillRepeatedly(RunCallback<1>(true)); On 2014/02/14 23:08:32, ddorwin wrote: ...
6 years, 10 months ago (2014-02-14 23:31:03 UTC) #4
ddorwin
lgtm Thanks!
6 years, 10 months ago (2014-02-14 23:33:39 UTC) #5
xhwang
The CQ bit was checked by xhwang@chromium.org
6 years, 10 months ago (2014-02-18 21:25:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/167333004/70001
6 years, 10 months ago (2014-02-18 21:26:39 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-02-18 23:21:08 UTC) #8
Message was sent while issue was closed.
Change committed as 251876

Powered by Google App Engine
This is Rietveld 408576698