diff options
author | Moonchild <moonchild@palemoon.org> | 2022-01-02 16:44:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-01-02 16:44:33 +0000 |
commit | 7198c276ab584a86dc14f972ba8d64f022610713 (patch) | |
tree | 262b1faad77c5d694897f5d5ecac7b1cc27426c7 /system/runtime | |
parent | 0c2396808491278981bec84e8998b29ec19d297d (diff) | |
download | aura-central-7198c276ab584a86dc14f972ba8d64f022610713.tar.gz |
Issue %3015 - Part 1: Remove GMP support code.
Diffstat (limited to 'system/runtime')
-rw-r--r-- | system/runtime/nsAppRunner.cpp | 1 | ||||
-rw-r--r-- | system/runtime/nsEmbedFunctions.cpp | 17 |
2 files changed, 0 insertions, 18 deletions
diff --git a/system/runtime/nsAppRunner.cpp b/system/runtime/nsAppRunner.cpp index 84df772ca..6c1477b23 100644 --- a/system/runtime/nsAppRunner.cpp +++ b/system/runtime/nsAppRunner.cpp @@ -792,7 +792,6 @@ SYNC_ENUMS(DEFAULT, Default) SYNC_ENUMS(PLUGIN, Plugin) SYNC_ENUMS(CONTENT, Content) SYNC_ENUMS(IPDLUNITTEST, IPDLUnitTest) -SYNC_ENUMS(GMPLUGIN, GMPlugin) SYNC_ENUMS(GPU, GPU) // .. and ensure that that is all of them: diff --git a/system/runtime/nsEmbedFunctions.cpp b/system/runtime/nsEmbedFunctions.cpp index 841ea2a2d..9c1aca494 100644 --- a/system/runtime/nsEmbedFunctions.cpp +++ b/system/runtime/nsEmbedFunctions.cpp @@ -63,8 +63,6 @@ #include "mozilla/ipc/XPCShellEnvironment.h" #include "mozilla/WindowsDllBlocklist.h" -#include "GMPProcessChild.h" -#include "GMPLoader.h" #include "mozilla/gfx/GPUProcessImpl.h" #include "GeckoProfiler.h" @@ -89,10 +87,6 @@ using mozilla::dom::ContentProcess; using mozilla::dom::ContentParent; using mozilla::dom::ContentChild; -using mozilla::gmp::GMPLoader; -using mozilla::gmp::CreateGMPLoader; -using mozilla::gmp::GMPProcessChild; - using mozilla::ipc::TestShellParent; using mozilla::ipc::TestShellCommandParent; using mozilla::ipc::XPCShellEnvironment; @@ -240,10 +234,6 @@ XRE_InitChildProcess(int aArgc, NS_ENSURE_ARG_POINTER(aArgv[0]); MOZ_ASSERT(aChildData); - // On non-Fennec Gecko, the GMPLoader code resides in plugin-container, - // and we must forward it through to the GMP code here. - GMPProcessChild::SetGMPLoader(aChildData->gmpLoader.get()); - #if defined(XP_WIN) // From the --attach-console support in nsNativeAppSupportWin.cpp, but // here we are a content child process, so we always attempt to attach @@ -357,9 +347,6 @@ XRE_InitChildProcess(int aArgc, // Content processes need the XPCOM/chromium frankenventloop uiLoopType = MessageLoop::TYPE_MOZILLA_CHILD; break; - case GeckoProcessType_GMPlugin: - uiLoopType = MessageLoop::TYPE_DEFAULT; - break; default: uiLoopType = MessageLoop::TYPE_UI; break; @@ -421,10 +408,6 @@ XRE_InitChildProcess(int aArgc, #endif break; - case GeckoProcessType_GMPlugin: - process = new gmp::GMPProcessChild(parentPID); - break; - case GeckoProcessType_GPU: process = new gfx::GPUProcessImpl(parentPID); break; |