Bug 1481009 Part 8 - Remove unused RecordReplayFatalError message, r=froydnj.

--HG--
extra : rebase_source : 38ca1b32f80897713c099d74f4e4a029b631948d
This commit is contained in:
Brian Hackett 2018-08-08 16:51:35 +00:00
Родитель 5e3223e51d
Коммит 5484f6f04f
3 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -147,7 +147,6 @@
#include "nsIObserverService.h"
#include "nsIParentChannel.h"
#include "nsIPresShell.h"
#include "nsIPromptService.h"
#include "nsIRemoteWindowContext.h"
#include "nsIScriptError.h"
#include "nsIScriptSecurityManager.h"
@ -5236,18 +5235,6 @@ ContentParent::RecvGraphicsError(const nsCString& aError)
return IPC_OK();
}
mozilla::ipc::IPCResult
ContentParent::RecvRecordReplayFatalError(const nsCString& aError)
{
nsCOMPtr<nsIPromptService> promptService(do_GetService(NS_PROMPTSERVICE_CONTRACTID));
MOZ_RELEASE_ASSERT(promptService);
nsAutoCString str(aError);
promptService->Alert(nullptr, u"Fatal Record/Replay Error", NS_ConvertUTF8toUTF16(str).get());
return IPC_OK();
}
mozilla::ipc::IPCResult
ContentParent::RecvBeginDriverCrashGuard(const uint32_t& aGuardType, bool* aOutCrashed)
{

Просмотреть файл

@ -1155,8 +1155,6 @@ public:
virtual mozilla::ipc::IPCResult RecvGraphicsError(const nsCString& aError) override;
virtual mozilla::ipc::IPCResult RecvRecordReplayFatalError(const nsCString& aError) override;
virtual mozilla::ipc::IPCResult
RecvBeginDriverCrashGuard(const uint32_t& aGuardType,
bool* aOutCrashed) override;

Просмотреть файл

@ -938,9 +938,6 @@ parent:
// Graphics errors
async GraphicsError(nsCString aError);
// Record/replay errors.
async RecordReplayFatalError(nsCString aError);
// Driver crash guards. aGuardType must be a member of CrashGuardType.
sync BeginDriverCrashGuard(uint32_t aGuardType) returns (bool crashDetected);
sync EndDriverCrashGuard(uint32_t aGuardType);