summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-22 19:19:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-22 19:19:56 +0200
commit612459488e5810335c493c467c239c40787cc1d3 (patch)
treec2af0c54608799f2ecb79760bd02c9cf5b25911a /toolkit
parenta3e8c9f82fb57bdfae9cad40b3d1e6587b73994b (diff)
downloadUXP-612459488e5810335c493c467c239c40787cc1d3.tar
UXP-612459488e5810335c493c467c239c40787cc1d3.tar.gz
UXP-612459488e5810335c493c467c239c40787cc1d3.tar.lz
UXP-612459488e5810335c493c467c239c40787cc1d3.tar.xz
UXP-612459488e5810335c493c467c239c40787cc1d3.zip
Remove IPC CrashReporterClient/Host
Tag #20.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/crashreporter/nsExceptionHandler.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/toolkit/crashreporter/nsExceptionHandler.cpp b/toolkit/crashreporter/nsExceptionHandler.cpp
index b6237a7a4..4d0b8cdfe 100644
--- a/toolkit/crashreporter/nsExceptionHandler.cpp
+++ b/toolkit/crashreporter/nsExceptionHandler.cpp
@@ -10,7 +10,6 @@
#include "nsDirectoryServiceDefs.h"
#include "nsDataHashtable.h"
#include "mozilla/ArrayUtils.h"
-#include "mozilla/ipc/CrashReporterClient.h"
#include "mozilla/Services.h"
#include "nsIObserverService.h"
#include "mozilla/Unused.h"
@@ -114,8 +113,6 @@ using google_breakpad::FileID;
using google_breakpad::PageAllocator;
#endif
using namespace mozilla;
-using mozilla::dom::CrashReporterChild;
-using mozilla::ipc::CrashReporterClient;
namespace CrashReporter {
@@ -2231,13 +2228,7 @@ nsresult AnnotateCrashReport(const nsACString& key, const nsACString& data)
return rv;
if (!XRE_IsParentProcess()) {
- // The newer CrashReporterClient can be used from any thread.
- if (RefPtr<CrashReporterClient> client = CrashReporterClient::GetSingleton()) {
- client->AnnotateCrashReport(nsCString(key), escapedData);
- return NS_OK;
- }
-
- // Otherwise, we have to handle this on the main thread since we will go
+ // We have to handle this on the main thread since we will go
// through IPDL.
if (!NS_IsMainThread()) {
// Child process needs to handle this in the main thread:
@@ -2313,11 +2304,6 @@ nsresult AppendAppNotesToCrashReport(const nsACString& data)
if (NS_FAILED(rv))
return rv;
- if (RefPtr<CrashReporterClient> client = CrashReporterClient::GetSingleton()) {
- client->AppendAppNotes(escapedData);
- return NS_OK;
- }
-
if (!NS_IsMainThread()) {
// Child process needs to handle this in the main thread:
nsCOMPtr<nsIRunnable> r = new CrashReporterHelperRunnable(data);