summaryrefslogtreecommitdiffstats
path: root/ipc/mscom/MainThreadRuntime.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-20 10:19:17 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-20 10:19:17 +0100
commit5d1eb0d3aa590338930553cb7e09c43c4840ef1a (patch)
tree24d81bfbc659d826eb3eef5f3ac1cc4f3d000e50 /ipc/mscom/MainThreadRuntime.cpp
parenta930db1c9e8444ed89754c5a79085d59c7295952 (diff)
downloadUXP-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.tar
UXP-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.tar.gz
UXP-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.tar.lz
UXP-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.tar.xz
UXP-5d1eb0d3aa590338930553cb7e09c43c4840ef1a.zip
Remove more obsolete checks in dom/media and ipc.
Diffstat (limited to 'ipc/mscom/MainThreadRuntime.cpp')
-rw-r--r--ipc/mscom/MainThreadRuntime.cpp7
1 files changed, 2 insertions, 5 deletions
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));
}