summaryrefslogtreecommitdiff
path: root/mfbt/WeakPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/WeakPtr.h')
-rw-r--r--mfbt/WeakPtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/WeakPtr.h b/mfbt/WeakPtr.h
index 477c56bbf3..a3164c3f87 100644
--- a/mfbt/WeakPtr.h
+++ b/mfbt/WeakPtr.h
@@ -99,7 +99,7 @@
// b. switch to POSIX-based threading in MinGW with pthread emulation
// c. refactor it to not use std::thread
-#if !defined(__MINGW32__) && (defined(DEBUG) || (defined(NIGHTLY_BUILD) && !defined(MOZ_PROFILING)))
+#if !defined(__MINGW32__) && defined(DEBUG)
#include <thread>
#define MOZ_WEAKPTR_DECLARE_THREAD_SAFETY_CHECK \