Bug 224907 - Call RemoteCDMFactory::registerFactory() in WebProcess::setUseGPUProcessForMedia()
Summary: Call RemoteCDMFactory::registerFactory() in WebProcess::setUseGPUProcessForMe...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 224905
Blocks:
  Show dependency treegraph
 
Reported: 2021-04-21 17:21 PDT by Chris Dumez
Modified: 2021-04-22 16:14 PDT (History)
6 users (show)

See Also:


Attachments
Patch (6.41 KB, patch)
2021-04-21 17:25 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 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.
Comment 1 Chris Dumez 2021-04-21 17:25:24 PDT
Created attachment 426758 [details]
Patch
Comment 2 Chris Dumez 2021-04-21 18:00:07 PDT
Dependency has landed. The patch should now build.
Comment 3 EWS 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].
Comment 4 Ling Ho 2021-04-22 16:14:07 PDT
<rdar://77027879>