Bug 224907

Summary: Call RemoteCDMFactory::registerFactory() in WebProcess::setUseGPUProcessForMedia()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, jer.noble, kkinnunen, lingcherd_ho, peng.liu6, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 224905    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2021-04-21 17:21:44 PDT
Call RemoteCDMFactory::registerFactory() in WebProcess::setUseGPUProcessForMedia(), like we did before r275887. This is safer as it makes sure the CDMFactory gets registered even if the GPUProcess has not launched yet. This is also more consistent with what we do for LegacyCDM since Bug 224905.
Attachments
Patch (6.41 KB, patch)
2021-04-21 17:25 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-04-21 17:25:24 PDT
Chris Dumez
Comment 2 2021-04-21 18:00:07 PDT
Dependency has landed. The patch should now build.
EWS
Comment 3 2021-04-22 09:04:21 PDT
Committed r276437 (236900@main): <https://commits.webkit.org/236900@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426758 [details].
Ling Ho
Comment 4 2021-04-22 16:14:07 PDT
Note You need to log in before you can comment on or make changes to this bug.