Index: webrtc/p2p/base/relayserver_unittest.cc |
diff --git a/webrtc/p2p/base/relayserver_unittest.cc b/webrtc/p2p/base/relayserver_unittest.cc |
index 0c98286af9507d6d097a824691becf38f9d9407a..d647909ff074961f9050b5e1fdbb122d46d99568 100644 |
--- a/webrtc/p2p/base/relayserver_unittest.cc |
+++ b/webrtc/p2p/base/relayserver_unittest.cc |
@@ -41,7 +41,7 @@ class RelayServerTest : public testing::Test { |
RelayServerTest() |
: pss_(new rtc::PhysicalSocketServer), |
ss_(new rtc::VirtualSocketServer(pss_.get())), |
- ss_scope_(ss_.get()), |
+ thread_(ss_.get()), |
username_(rtc::CreateRandomString(12)), |
password_(rtc::CreateRandomString(12)) {} |
@@ -169,7 +169,7 @@ class RelayServerTest : public testing::Test { |
std::unique_ptr<rtc::PhysicalSocketServer> pss_; |
std::unique_ptr<rtc::VirtualSocketServer> ss_; |
- rtc::SocketServerScope ss_scope_; |
+ rtc::AutoSocketServerThread thread_; |
std::unique_ptr<RelayServer> server_; |
std::unique_ptr<rtc::TestClient> client1_; |
std::unique_ptr<rtc::TestClient> client2_; |