summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-21 13:56:28 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-21 13:56:28 +0200
commitfbdd52ea571bb591e596797f7cc745426b620a97 (patch)
treeb0ba5f5903bc48e2aa161e1cebf13df497b56970 /toolkit
parent1309bdb541548f853ef1bc3f8004a61fc7a920e8 (diff)
downloadUXP-fbdd52ea571bb591e596797f7cc745426b620a97.tar
UXP-fbdd52ea571bb591e596797f7cc745426b620a97.tar.gz
UXP-fbdd52ea571bb591e596797f7cc745426b620a97.tar.lz
UXP-fbdd52ea571bb591e596797f7cc745426b620a97.tar.xz
UXP-fbdd52ea571bb591e596797f7cc745426b620a97.zip
Remove GMP, Plugin and IPC crash reporter hooks.
Stubs will be removed in follow-up Tag #20.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/crashreporter/nsExceptionHandler.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/toolkit/crashreporter/nsExceptionHandler.cpp b/toolkit/crashreporter/nsExceptionHandler.cpp
index 0d1286bdc..2ac030089 100644
--- a/toolkit/crashreporter/nsExceptionHandler.cpp
+++ b/toolkit/crashreporter/nsExceptionHandler.cpp
@@ -116,7 +116,6 @@ using google_breakpad::PageAllocator;
#endif
using namespace mozilla;
using mozilla::dom::CrashReporterChild;
-using mozilla::dom::PCrashReporterChild;
using mozilla::ipc::CrashReporterClient;
namespace CrashReporter {
@@ -2249,13 +2248,7 @@ nsresult AnnotateCrashReport(const nsACString& key, const nsACString& data)
}
MOZ_ASSERT(NS_IsMainThread());
- PCrashReporterChild* reporter = CrashReporterChild::GetCrashReporter();
- if (!reporter) {
- EnqueueDelayedNote(new DelayedNote(key, data));
- return NS_OK;
- }
- if (!reporter->SendAnnotateCrashReport(nsCString(key), escapedData))
- return NS_ERROR_FAILURE;
+ EnqueueDelayedNote(new DelayedNote(key, data));
return NS_OK;
}
@@ -2334,14 +2327,7 @@ nsresult AppendAppNotesToCrashReport(const nsACString& data)
}
MOZ_ASSERT(NS_IsMainThread());
- PCrashReporterChild* reporter = CrashReporterChild::GetCrashReporter();
- if (!reporter) {
- EnqueueDelayedNote(new DelayedNote(data));
- return NS_OK;
- }
-
- if (!reporter->SendAppendAppNotes(escapedData))
- return NS_ERROR_FAILURE;
+ EnqueueDelayedNote(new DelayedNote(data));
return NS_OK;
}