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

Issue 886393003: Handle createCDM() when frame destroyed (Closed)

Created:
5 years, 10 months ago by jrummell
Modified:
5 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle createCDM() when frame destroyed createCDM() now uses WeakPtr<> so that it fails gracefully when the frame is destroyed. BUG=454278 TEST=fuzzed test doesn't crash Committed: https://crrev.com/d17dc45807d6041ea9df322a4fd4ecefbfcd1664 Cr-Commit-Position: refs/heads/master@{#314417}

Patch Set 1 #

Total comments: 22

Patch Set 2 : changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -20 lines) Patch
M media/blink/webcontentdecryptionmoduleaccess_impl.h View 1 4 chunks +8 lines, -3 lines 0 comments Download
M media/blink/webcontentdecryptionmoduleaccess_impl.cc View 1 3 chunks +21 lines, -14 lines 0 comments Download
M media/blink/webencryptedmediaclient_impl.h View 1 3 chunks +10 lines, -0 lines 0 comments Download
M media/blink/webencryptedmediaclient_impl.cc View 1 5 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
jrummell
PTAL.
5 years, 10 months ago (2015-02-02 22:18:40 UTC) #2
xhwang
Thanks for the fix! lgtm with some nits https://codereview.chromium.org/886393003/diff/1/media/blink/webcontentdecryptionmoduleaccess_impl.cc File media/blink/webcontentdecryptionmoduleaccess_impl.cc (right): https://codereview.chromium.org/886393003/diff/1/media/blink/webcontentdecryptionmoduleaccess_impl.cc#newcode5 media/blink/webcontentdecryptionmoduleaccess_impl.cc:5: #include ...
5 years, 10 months ago (2015-02-03 18:45:49 UTC) #3
jrummell
Thanks for the review. https://codereview.chromium.org/886393003/diff/1/media/blink/webcontentdecryptionmoduleaccess_impl.cc File media/blink/webcontentdecryptionmoduleaccess_impl.cc (right): https://codereview.chromium.org/886393003/diff/1/media/blink/webcontentdecryptionmoduleaccess_impl.cc#newcode5 media/blink/webcontentdecryptionmoduleaccess_impl.cc:5: #include "webcontentdecryptionmoduleaccess_impl.h" On 2015/02/03 18:45:48, ...
5 years, 10 months ago (2015-02-03 20:01:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886393003/20001
5 years, 10 months ago (2015-02-03 20:02:09 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-03 22:09:58 UTC) #7
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 22:12:24 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d17dc45807d6041ea9df322a4fd4ecefbfcd1664
Cr-Commit-Position: refs/heads/master@{#314417}

Powered by Google App Engine
This is Rietveld 408576698