aboutsummaryrefslogtreecommitdiff
path: root/rtc_base/test_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtc_base/test_client.h')
-rw-r--r--rtc_base/test_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc_base/test_client.h b/rtc_base/test_client.h
index b45cf005bb..6989fe1d57 100644
--- a/rtc_base/test_client.h
+++ b/rtc_base/test_client.h
@@ -16,8 +16,8 @@
#include "rtc_base/async_udp_socket.h"
#include "rtc_base/constructor_magic.h"
-#include "rtc_base/critical_section.h"
#include "rtc_base/fake_clock.h"
+#include "rtc_base/synchronization/mutex.h"
namespace rtc {
@@ -105,7 +105,7 @@ class TestClient : public sigslot::has_slots<> {
void AdvanceTime(int ms);
ThreadProcessingFakeClock* fake_clock_ = nullptr;
- CriticalSection crit_;
+ webrtc::Mutex mutex_;
std::unique_ptr<AsyncPacketSocket> socket_;
std::vector<std::unique_ptr<Packet>> packets_;
int ready_to_send_count_ = 0;