summaryrefslogtreecommitdiffstats
path: root/dom/ipc/CrashReporterChild.cpp
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 /dom/ipc/CrashReporterChild.cpp
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 'dom/ipc/CrashReporterChild.cpp')
-rw-r--r--dom/ipc/CrashReporterChild.cpp27
1 files changed, 1 insertions, 26 deletions
diff --git a/dom/ipc/CrashReporterChild.cpp b/dom/ipc/CrashReporterChild.cpp
index 8174452e7..d5616a504 100644
--- a/dom/ipc/CrashReporterChild.cpp
+++ b/dom/ipc/CrashReporterChild.cpp
@@ -12,31 +12,6 @@ using mozilla::plugins::PluginModuleChild;
namespace mozilla {
namespace dom {
-
-/*static*/
-PCrashReporterChild*
-CrashReporterChild::GetCrashReporter()
-{
- const ManagedContainer<PCrashReporterChild>* reporters = nullptr;
- switch (XRE_GetProcessType()) {
- case GeckoProcessType_Content: {
- ContentChild* child = ContentChild::GetSingleton();
- reporters = &child->ManagedPCrashReporterChild();
- break;
- }
- case GeckoProcessType_Plugin: {
- PluginModuleChild* child = PluginModuleChild::GetChrome();
- reporters = &child->ManagedPCrashReporterChild();
- break;
- }
- default:
- break;
- }
- if (!reporters) {
- return nullptr;
- }
- return LoneManagedOrNullAsserts(*reporters);
-}
-
+ /*** STUB ***/
} // namespace dom
} // namespace mozilla