Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage

This commit is contained in:
Aaron Klotz
2015-03-28 06:08:26 -07:00
parent cd7c97a455
commit adf600d969
6 changed files with 152 additions and 62 deletions

View File

@@ -42,6 +42,7 @@
#include "nsNPAPIPlugin.h"
#ifdef XP_WIN
#include "COMMessageFilter.h"
#include "nsWindowsDllInterceptor.h"
#include "mozilla/widget/AudioSession.h"
#endif
@@ -263,6 +264,10 @@ PluginModuleChild::InitForChrome(const std::string& aPluginFilename,
MessageLoop* aIOLoop,
IPC::Channel* aChannel)
{
#ifdef XP_WIN
COMMessageFilter::Initialize(this);
#endif
NS_ASSERTION(aChannel, "need a channel");
if (!InitGraphics())