From 5d1eb0d3aa590338930553cb7e09c43c4840ef1a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 20 Feb 2018 10:19:17 +0100 Subject: Remove more obsolete checks in dom/media and ipc. --- ipc/mscom/MainThreadRuntime.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ipc/mscom') diff --git a/ipc/mscom/MainThreadRuntime.cpp b/ipc/mscom/MainThreadRuntime.cpp index 8e77d2f12..a061eaf54 100644 --- a/ipc/mscom/MainThreadRuntime.cpp +++ b/ipc/mscom/MainThreadRuntime.cpp @@ -60,11 +60,8 @@ MainThreadRuntime::MainThreadRuntime() return; } - // Windows 7 has a policy that is even more strict. We should use that one - // whenever possible. - ULONG_PTR exceptionSetting = IsWin7OrLater() ? - COMGLB_EXCEPTION_DONOT_HANDLE_ANY : - COMGLB_EXCEPTION_DONOT_HANDLE; + // Use the strictest policy available. + ULONG_PTR exceptionSetting = COMGLB_EXCEPTION_DONOT_HANDLE_ANY; mInitResult = globalOpts->Set(COMGLB_EXCEPTION_HANDLING, exceptionSetting); MOZ_ASSERT(SUCCEEDED(mInitResult)); } -- cgit v1.2.3