Index: remoting/protocol/jingle_session_unittest.cc |
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc |
index 95a1de50a6e0b23a7a9f945bcc776ad60965e7b9..bbb9eac1609ccc3620591280ab9d9660eed210e9 100644 |
--- a/remoting/protocol/jingle_session_unittest.cc |
+++ b/remoting/protocol/jingle_session_unittest.cc |
@@ -17,7 +17,6 @@ |
#include "remoting/protocol/fake_authenticator.h" |
#include "remoting/protocol/jingle_session_manager.h" |
#include "remoting/protocol/libjingle_transport_factory.h" |
-#include "remoting/jingle_glue/jingle_thread.h" |
#include "remoting/jingle_glue/fake_signal_strategy.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -88,9 +87,7 @@ class MockStreamChannelCallback { |
class JingleSessionTest : public testing::Test { |
public: |
JingleSessionTest() { |
- talk_base::ThreadManager::Instance()->WrapCurrentThread(); |
- message_loop_.reset( |
- new JingleThreadMessageLoop(talk_base::Thread::Current())); |
+ message_loop_.reset(new MessageLoopForIO()); |
} |
// Helper method that handles OnIncomingSession(). |
@@ -246,7 +243,7 @@ class JingleSessionTest : public testing::Test { |
EXPECT_TRUE(host_socket_.get()); |
} |
- scoped_ptr<JingleThreadMessageLoop> message_loop_; |
+ scoped_ptr<MessageLoop> message_loop_; |
scoped_ptr<FakeSignalStrategy> host_signal_strategy_; |
scoped_ptr<FakeSignalStrategy> client_signal_strategy_; |