From 0cd6f26b6b8fcec2b43398fd831f6b9e0cb977e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 8 Apr 2024 17:18:09 +0200 Subject: Merging upstream version 115.9.0esr. Signed-off-by: Daniel Baumann --- ipc/glue/GeckoChildProcessHost.cpp | 11 +---------- ipc/glue/GeckoChildProcessHost.h | 1 - 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'ipc') diff --git a/ipc/glue/GeckoChildProcessHost.cpp b/ipc/glue/GeckoChildProcessHost.cpp index b4895e0e45..8d12ed2579 100644 --- a/ipc/glue/GeckoChildProcessHost.cpp +++ b/ipc/glue/GeckoChildProcessHost.cpp @@ -263,8 +263,7 @@ class WindowsProcessLauncher : public BaseProcessLauncher { WindowsProcessLauncher(GeckoChildProcessHost* aHost, std::vector&& aExtraOpts) : BaseProcessLauncher(aHost, std::move(aExtraOpts)), - mCachedNtdllThunk(GetCachedNtDllThunk()), - mWerDataPointer(&(aHost->mWerData)) {} + mCachedNtdllThunk(GetCachedNtDllThunk()) {} protected: bool SetChannel(IPC::Channel*) override { return true; } @@ -276,7 +275,6 @@ class WindowsProcessLauncher : public BaseProcessLauncher { bool mUseSandbox = false; const Buffer* mCachedNtdllThunk; - CrashReporter::WindowsErrorReportingData const* mWerDataPointer; }; typedef WindowsProcessLauncher ProcessLauncher; #endif // XP_WIN @@ -399,9 +397,6 @@ GeckoChildProcessHost::GeckoChildProcessHost(GeckoProcessType aProcessType, mProcessState(CREATING_CHANNEL), #ifdef XP_WIN mGroupId(u"-"), - mWerData{.mWerNotifyProc = CrashReporter::WerNotifyProc, - .mChildPid = 0, - .mMinidumpFile = {}}, #endif #if defined(MOZ_SANDBOX) && defined(XP_WIN) mEnableSandboxLogging(false), @@ -1587,10 +1582,6 @@ Result WindowsProcessLauncher::DoSetup() { mLaunchOptions->handles_to_inherit.push_back(reinterpret_cast(h)); std::string hStr = std::to_string(h); mCmdLine->AppendLooseValue(UTF8ToWide(hStr)); - - char werDataAddress[17] = {}; - SprintfLiteral(werDataAddress, "%p", mWerDataPointer); - mCmdLine->AppendLooseValue(UTF8ToWide(werDataAddress)); } // Process type diff --git a/ipc/glue/GeckoChildProcessHost.h b/ipc/glue/GeckoChildProcessHost.h index ccf8a4aca4..1ff01cd51a 100644 --- a/ipc/glue/GeckoChildProcessHost.h +++ b/ipc/glue/GeckoChildProcessHost.h @@ -258,7 +258,6 @@ class GeckoChildProcessHost : public ChildProcessHost, #ifdef XP_WIN void InitWindowsGroupID(); nsString mGroupId; - CrashReporter::WindowsErrorReportingData mWerData; # ifdef MOZ_SANDBOX RefPtr mSandboxBroker; std::vector mAllowedFilesRead; -- cgit v1.2.3