Bug 771765, tentative bustage fix no. 2 on CLOSED TREE. r=bent

This commit is contained in:
Gregor Wagner 2013-09-30 10:38:05 -07:00
parent 5977a25654
commit f66690ab97

View File

@ -5,11 +5,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "CrashReporterParent.h"
#include "mozilla/dom/ContentParent.h"
#include "nsExceptionHandler.h"
#include "nsXULAppAPI.h"
#include <time.h>
#ifdef MOZ_CRASHREPORTER
#include "nsExceptionHandler.h"
#endif
using namespace base;
namespace mozilla {
@ -35,6 +37,7 @@ mozilla::ipc::IProtocol*
CrashReporterParent::CloneProtocol(Channel* aChannel,
mozilla::ipc::ProtocolCloneContext* aCtx)
{
#ifdef MOZ_CRASHREPORTER
ContentParent* contentParent = aCtx->GetContentParent();
CrashReporter::ThreadId childThreadId = contentParent->Pid();
GeckoProcessType childProcessType =
@ -52,6 +55,10 @@ CrashReporterParent::CloneProtocol(Channel* aChannel,
}
return actor.forget();
#else
MOZ_CRASH("Not Implemented");
return nullptr;
#endif
}
CrashReporterParent::CrashReporterParent()