From 88236969275819e48124859a09c32cbfa8dad448 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') diff --git a/ipc/mscom/MainThreadRuntime.cpp b/ipc/mscom/MainThreadRuntime.cpp index 8e77d2f125..a061eaf541 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