mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 20:37:31 +09:00
Correct overzealous GMP checks
This commit is contained in:
parent
4c819bd3d5
commit
c3767681a9
1 changed files with 4 additions and 4 deletions
|
|
@ -471,11 +471,9 @@ XRE_InitChildProcess(int aArgc,
|
||||||
// Content processes need the XPCOM/chromium frankenventloop
|
// Content processes need the XPCOM/chromium frankenventloop
|
||||||
uiLoopType = MessageLoop::TYPE_MOZILLA_CHILD;
|
uiLoopType = MessageLoop::TYPE_MOZILLA_CHILD;
|
||||||
break;
|
break;
|
||||||
#ifdef MOZ_GMP
|
|
||||||
case GeckoProcessType_GMPlugin:
|
case GeckoProcessType_GMPlugin:
|
||||||
uiLoopType = MessageLoop::TYPE_DEFAULT;
|
uiLoopType = MessageLoop::TYPE_DEFAULT;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
default:
|
default:
|
||||||
uiLoopType = MessageLoop::TYPE_UI;
|
uiLoopType = MessageLoop::TYPE_UI;
|
||||||
break;
|
break;
|
||||||
|
|
@ -537,11 +535,13 @@ XRE_InitChildProcess(int aArgc,
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef MOZ_GMP
|
|
||||||
case GeckoProcessType_GMPlugin:
|
case GeckoProcessType_GMPlugin:
|
||||||
|
#ifdef MOZ_GMP
|
||||||
process = new gmp::GMPProcessChild(parentPID);
|
process = new gmp::GMPProcessChild(parentPID);
|
||||||
break;
|
#else
|
||||||
|
NS_RUNTIMEABORT("rebuild with Gecko Media Plugins enabled");
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case GeckoProcessType_GPU:
|
case GeckoProcessType_GPU:
|
||||||
process = new gfx::GPUProcessImpl(parentPID);
|
process = new gfx::GPUProcessImpl(parentPID);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue