diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-21 13:56:28 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-21 13:56:28 +0200 |
commit | fbdd52ea571bb591e596797f7cc745426b620a97 (patch) | |
tree | b0ba5f5903bc48e2aa161e1cebf13df497b56970 /dom/ipc/CrashReporterChild.cpp | |
parent | 1309bdb541548f853ef1bc3f8004a61fc7a920e8 (diff) | |
download | UXP-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.cpp | 27 |
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 |