diff --git a/content/media/gmp/GMPChild.cpp b/content/media/gmp/GMPChild.cpp index 9b9ed84ee476..708dd915f791 100644 --- a/content/media/gmp/GMPChild.cpp +++ b/content/media/gmp/GMPChild.cpp @@ -47,9 +47,12 @@ GMPChild::Init(const std::string& aPluginPath, MessageLoop* aIOLoop, IPC::Channel* aChannel) { +#ifdef GMP_CRASHREPORTER_READY +// See bug 1041226 #ifdef MOZ_CRASHREPORTER SendPCrashReporterConstructor(CrashReporter::CurrentThreadId()); #endif +#endif #if defined(XP_WIN) mozilla::SandboxTarget::Instance()->StartSandbox(); #endif