Bug 1132663 - Part 1: Use the DLL blocklist in plugin-container processes. r=bsmedberg

This commit is contained in:
David Major 2015-02-18 14:09:32 +13:00
parent 9c34c6fdc7
commit 7a9c8096be

View File

@ -69,6 +69,7 @@
#include "mozilla/ipc/TestShellParent.h"
#include "mozilla/ipc/XPCShellEnvironment.h"
#include "mozilla/WindowsDllBlocklist.h"
#include "GMPProcessChild.h"
#include "GMPLoader.h"
@ -300,6 +301,10 @@ XRE_InitChildProcess(int aArgc,
NS_ENSURE_ARG_POINTER(aArgv);
NS_ENSURE_ARG_POINTER(aArgv[0]);
#ifdef HAS_DLL_BLOCKLIST
DllBlocklist_Initialize();
#endif
#if !defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_GONK)
// On non-Fennec Gecko, the GMPLoader code resides in plugin-container,
// and we must forward it through to the GMP code here.