-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure KeySystems is up to date before selecting key system
UpdateIfNeeded() was only called in GetInstace(), but KeySystemConfigSelector caches the KeySystems pointer. Calls to SelectConfig() that happened after installing a new key system still saw the initial list of key systems. To fix this, we expose UpdateIfNeeded() in the KeySystems interface so that KeySystemConfigSelector can call it in SelectConfig() to make sure the information on supported key systems is up to date. Bug: 1033932 Change-Id: I7bdbe7ead15907fa6605a445f6bf9d7842f3c1ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1967188 Reviewed-by: Xiaohan Wang <xhwang@chromium.org> Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Auto-Submit: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Cr-Commit-Position: refs/heads/master@{#733688}
- Loading branch information
1 parent
22fe463
commit 432be5c
Showing
5 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters