зеркало из https://github.com/mozilla/gecko-dev.git
Bug 771765, tentative bustage fix no. 2 on CLOSED TREE. r=bent
This commit is contained in:
Родитель
b659bd588b
Коммит
058f768f8d
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче