Loading js/src/threading/Mutex.h +5 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ public: static bool Init() { return true; } static void ShutDown() {} explicit Mutex(const MutexId& id) {} explicit Mutex(const MutexId& id) : mozilla::detail::MutexImpl(mozilla::recordreplay::Behavior::DontPreserve) {} using MutexImpl::lock; using MutexImpl::unlock; Loading @@ -54,7 +56,8 @@ public: static void ShutDown(); explicit Mutex(const MutexId& id) : id_(id) : mozilla::detail::MutexImpl(mozilla::recordreplay::Behavior::DontPreserve), id_(id) { MOZ_ASSERT(id_.order != 0); } Loading Loading
js/src/threading/Mutex.h +5 −2 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ public: static bool Init() { return true; } static void ShutDown() {} explicit Mutex(const MutexId& id) {} explicit Mutex(const MutexId& id) : mozilla::detail::MutexImpl(mozilla::recordreplay::Behavior::DontPreserve) {} using MutexImpl::lock; using MutexImpl::unlock; Loading @@ -54,7 +56,8 @@ public: static void ShutDown(); explicit Mutex(const MutexId& id) : id_(id) : mozilla::detail::MutexImpl(mozilla::recordreplay::Behavior::DontPreserve), id_(id) { MOZ_ASSERT(id_.order != 0); } Loading