• jrummell's avatar
    Handle incorrect promise resolving · fd0069d6
    jrummell authored
    Due to an issue in the CDM, when a session to be loaded is not
    found, the CDM calls PromiseResolve() instead of the expected
    PromiseResolveWithSession(""). This change detects this situation
    and handles it properly.
    
    BUG=408337
    TEST=existing EME tests pass
    
    Review URL: https://codereview.chromium.org/518523002
    
    Cr-Commit-Position: refs/heads/master@{#292497}
    fd0069d6
content_decryptor_delegate.cc 41 KB