Missing return after rejecting the promise in MediaDrmBridge::CreateSessionAndGenerateRequest() |
|||||
Issue descriptionIn MediaDrmBridge::CreateSessionAndGenerateRequest(), after we reject the promise, we should return [1] . Today the "return" is missing. We end up continue to call Java which could try to resolve or reject the promise again. [1] https://code.google.com/p/chromium/codesearch#chromium/src/media/base/android/media_drm_bridge.cc&l=392
,
Mar 24 2016
Request merge of this one line fix.
,
Mar 24 2016
Your change meets the bar and is auto-approved for M50 (branch: 2661)
,
Mar 24 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/50b099e47e84590ab95d880658ac6f2fee9b2a44 commit 50b099e47e84590ab95d880658ac6f2fee9b2a44 Author: Xiaohan Wang <xhwang@chromium.org> Date: Thu Mar 24 20:37:44 2016 media : Return after rejecting promise in MediaDrmBridge This fixes a bug where we continue to call Java after rejecting a promise, which could trigger rejecting the same promise again. BUG= 597514 TEST=No double promise rejection in manual testing. Review URL: https://codereview.chromium.org/1823413003 Cr-Commit-Position: refs/heads/master@{#383110} (cherry picked from commit 950d2d3ba6e0aee4bbae0c67eb6c77feaae55314) Review URL: https://codereview.chromium.org/1831103003 . Cr-Commit-Position: refs/branch-heads/2661@{#381} Cr-Branched-From: ef6f6ae5e4c96622286b563658d5cd62a6cf1197-refs/heads/master@{#378081} [modify] https://crrev.com/50b099e47e84590ab95d880658ac6f2fee9b2a44/media/base/android/media_drm_bridge.cc
,
Mar 24 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, Mar 24 2016