summaryrefslogtreecommitdiffstats
path: root/jingle/glue/pseudotcp_adapter_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'jingle/glue/pseudotcp_adapter_unittest.cc')
-rw-r--r--jingle/glue/pseudotcp_adapter_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/jingle/glue/pseudotcp_adapter_unittest.cc b/jingle/glue/pseudotcp_adapter_unittest.cc
index 34f4f65..a2117ea 100644
--- a/jingle/glue/pseudotcp_adapter_unittest.cc
+++ b/jingle/glue/pseudotcp_adapter_unittest.cc
@@ -6,6 +6,7 @@
#include <vector>
+#include "jingle/glue/thread_wrapper.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base/test_completion_callback.h"
@@ -254,6 +255,8 @@ class TCPChannelTester : public base::RefCountedThreadSafe<TCPChannelTester> {
class PseudoTcpAdapterTest : public testing::Test {
protected:
virtual void SetUp() OVERRIDE {
+ JingleThreadWrapper::EnsureForCurrentThread();
+
host_socket_ = new FakeSocket();
client_socket_ = new FakeSocket();