From 5aa65d2aeab36ea8de8129c0babcf70a5e4e662a Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 20 Feb 2022 22:00:59 +0000 Subject: Issue #1877 - Resolve NIGHTLY_BUILD conditionals. --- gfx/src/DriverCrashGuard.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'gfx/src/DriverCrashGuard.cpp') diff --git a/gfx/src/DriverCrashGuard.cpp b/gfx/src/DriverCrashGuard.cpp index 3b69d387c5..333c624e94 100644 --- a/gfx/src/DriverCrashGuard.cpp +++ b/gfx/src/DriverCrashGuard.cpp @@ -68,19 +68,11 @@ AreCrashGuardsEnabled() if (XRE_IsGPUProcess()) { return false; } -#ifdef NIGHTLY_BUILD - // We only use the crash guard on non-nightly channels, since the nightly - // channel is for development and having graphics features perma-disabled - // is rather annoying. Unless the user forces is with an environment - // variable, which comes in handy for testing. - return gfxEnv::ForceCrashGuardNightly(); -#else // Check to see if all guards have been disabled through the environment. if (gfxEnv::DisableCrashGuard()) { return false; } return true; -#endif } void -- cgit v1.2.3