bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking

This commit is contained in:
Ted Mielczarek
2010-08-27 09:32:45 -04:00
parent 13ec55d94e
commit e1db9e0ca0
10 changed files with 335 additions and 153 deletions

View File

@@ -233,7 +233,13 @@ PluginModuleParent::ShouldContinueFromReplyTimeout()
#ifdef MOZ_CRASHREPORTER
nsCOMPtr<nsILocalFile> pluginDump;
nsCOMPtr<nsILocalFile> browserDump;
if (CrashReporter::CreatePairedMinidumps(OtherProcess(),
CrashReporter::ProcessHandle child;
#ifdef XP_MACOSX
child = mSubprocess->GetChildTask();
#else
child = OtherProcess();
#endif
if (CrashReporter::CreatePairedMinidumps(child,
mPluginThread,
&mHangID,
getter_AddRefs(pluginDump),