diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:19:17 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:19:17 +0100 |
commit | 5d1eb0d3aa590338930553cb7e09c43c4840ef1a (patch) | |
tree | 24d81bfbc659d826eb3eef5f3ac1cc4f3d000e50 /ipc | |
parent | a930db1c9e8444ed89754c5a79085d59c7295952 (diff) | |
download | uxp-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.tar.gz |
Remove more obsolete checks in dom/media and ipc.
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/mscom/MainThreadRuntime.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
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)); } |