From 612459488e5810335c493c467c239c40787cc1d3 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 22 May 2018 19:19:56 +0200 Subject: Remove IPC CrashReporterClient/Host Tag #20. --- gfx/ipc/GPUChild.cpp | 7 ------- gfx/ipc/GPUChild.h | 5 ----- gfx/ipc/GPUParent.cpp | 1 - gfx/ipc/PGPU.ipdl | 2 -- 4 files changed, 15 deletions(-) (limited to 'gfx') diff --git a/gfx/ipc/GPUChild.cpp b/gfx/ipc/GPUChild.cpp index 3c2797683..a075716e3 100644 --- a/gfx/ipc/GPUChild.cpp +++ b/gfx/ipc/GPUChild.cpp @@ -14,7 +14,6 @@ #if defined(XP_WIN) # include "mozilla/gfx/DeviceManagerDx.h" #endif -#include "mozilla/ipc/CrashReporterHost.h" namespace mozilla { namespace gfx { @@ -118,12 +117,6 @@ GPUChild::RecvGraphicsError(const nsCString& aError) return true; } -bool -GPUChild::RecvInitCrashReporter(Shmem&& aShmem) -{ - return true; -} - bool GPUChild::RecvNotifyUiObservers(const nsCString& aTopic) { diff --git a/gfx/ipc/GPUChild.h b/gfx/ipc/GPUChild.h index c0f7d076f..888884ddf 100644 --- a/gfx/ipc/GPUChild.h +++ b/gfx/ipc/GPUChild.h @@ -12,9 +12,6 @@ #include "mozilla/gfx/gfxVarReceiver.h" namespace mozilla { -namespace ipc { -class CrashReporterHost; -} // namespace namespace gfx { class GPUProcessHost; @@ -37,7 +34,6 @@ public: // PGPUChild overrides. bool RecvInitComplete(const GPUDeviceData& aData) override; bool RecvReportCheckerboard(const uint32_t& aSeverity, const nsCString& aLog) override; - bool RecvInitCrashReporter(Shmem&& shmem) override; bool RecvAccumulateChildHistogram(InfallibleTArray&& aAccumulations) override; bool RecvAccumulateChildKeyedHistogram(InfallibleTArray&& aAccumulations) override; void ActorDestroy(ActorDestroyReason aWhy) override; @@ -49,7 +45,6 @@ public: private: GPUProcessHost* mHost; - UniquePtr mCrashReporter; bool mGPUReady; }; diff --git a/gfx/ipc/GPUParent.cpp b/gfx/ipc/GPUParent.cpp index 896c7b36b..b693f4728 100644 --- a/gfx/ipc/GPUParent.cpp +++ b/gfx/ipc/GPUParent.cpp @@ -14,7 +14,6 @@ #include "mozilla/Assertions.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/gfxVars.h" -#include "mozilla/ipc/CrashReporterClient.h" #include "mozilla/ipc/ProcessChild.h" #include "mozilla/layers/APZThreadUtils.h" #include "mozilla/layers/APZCTreeManager.h" diff --git a/gfx/ipc/PGPU.ipdl b/gfx/ipc/PGPU.ipdl index c442335c9..d36c51394 100644 --- a/gfx/ipc/PGPU.ipdl +++ b/gfx/ipc/PGPU.ipdl @@ -89,8 +89,6 @@ child: // Graphics errors, analogous to PContent::GraphicsError async GraphicsError(nsCString aError); - async InitCrashReporter(Shmem shmem); - // Have a message be broadcasted to the UI process by the UI process // observer service. async NotifyUiObservers(nsCString aTopic); -- cgit v1.2.3