summaryrefslogtreecommitdiffstats
path: root/accessible/windows/msaa/IUnknownImpl.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 13:46:04 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 13:46:04 +0100
commit616475a0c1109460fe42045ca3380f4d8f0752cd (patch)
treef28d81584e97fa7b988cef20969cc6046a00c62a /accessible/windows/msaa/IUnknownImpl.cpp
parenta14048f0a23b0e50576ab3b5e87aebd616b35d43 (diff)
downloadUXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar
UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.gz
UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.lz
UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.tar.xz
UXP-616475a0c1109460fe42045ca3380f4d8f0752cd.zip
Remove SEH try blocks from a11y code.
Diffstat (limited to 'accessible/windows/msaa/IUnknownImpl.cpp')
-rw-r--r--accessible/windows/msaa/IUnknownImpl.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/accessible/windows/msaa/IUnknownImpl.cpp b/accessible/windows/msaa/IUnknownImpl.cpp
index 4a9fa5383..c74f86e33 100644
--- a/accessible/windows/msaa/IUnknownImpl.cpp
+++ b/accessible/windows/msaa/IUnknownImpl.cpp
@@ -37,22 +37,5 @@ GetHRESULT(nsresult aResult)
}
}
-int
-FilterExceptions(unsigned int aCode, EXCEPTION_POINTERS* aExceptionInfo)
-{
- if (aCode == EXCEPTION_ACCESS_VIOLATION) {
-#ifdef MOZ_CRASHREPORTER
- // MSAA swallows crashes (because it is COM-based) but we still need to
- // learn about those crashes so we can fix them. Make sure to pass them to
- // the crash reporter.
- CrashReporter::WriteMinidumpForException(aExceptionInfo);
-#endif
- } else {
- NS_NOTREACHED("We should only be catching crash exceptions");
- }
-
- return EXCEPTION_CONTINUE_SEARCH;
-}
-
} // namespace a11y
} // namespace mozilla