зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1800226 - Force enable gtest DisableCrashReporter() on XP_WIN r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D161930
This commit is contained in:
Родитель
a18e64f40a
Коммит
47ba0361d4
|
@ -9,8 +9,8 @@
|
|||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsICrashReporter.h"
|
||||
|
||||
#if defined(MOZ_DIAGNOSTIC_ASSERT_ENABLED) && !defined(ANDROID) && \
|
||||
!(defined(XP_DARWIN) && !defined(MOZ_DEBUG))
|
||||
#if (defined(MOZ_DIAGNOSTIC_ASSERT_ENABLED) || defined(XP_WIN)) && \
|
||||
!defined(ANDROID) && !(defined(XP_DARWIN) && !defined(MOZ_DEBUG))
|
||||
static void DisableCrashReporter() {
|
||||
nsCOMPtr<nsICrashReporter> crashreporter =
|
||||
do_GetService("@mozilla.org/toolkit/crash-reporter;1");
|
||||
|
|
Загрузка…
Ссылка в новой задаче