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.
Created attachment 426758 [details] Patch
Dependency has landed. The patch should now build.
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].
<rdar://77027879>