mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Bug 1054965 - initialize the crash reporter correctly in GMP children; reorder the init method so that mac doesn't early-return it away, r=smichaud
--HG-- extra : rebase_source : 7accc05d988ee8d5b6101c012f2d4e23fa631d75
This commit is contained in:
parent
5280bfadfd
commit
b7f4211b2c
@ -128,14 +128,15 @@ GMPChild::Init(const std::string& aPluginPath,
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
SendPCrashReporterConstructor(CrashReporter::CurrentThreadId());
|
||||
#endif
|
||||
|
||||
#if defined(XP_MACOSX) && defined(MOZ_GMP_SANDBOX)
|
||||
mPluginPath = aPluginPath;
|
||||
return true;
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_CRASHREPORTER
|
||||
SendPCrashReporterConstructor(CrashReporter::CurrentThreadId());
|
||||
#endif
|
||||
#if defined(XP_WIN)
|
||||
mozilla::SandboxTarget::Instance()->StartSandbox();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user