Index: net/socket/ssl_client_socket_unittest.cc |
diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc |
index 9b90ae8915ffcc98b65a2fad87c8bbf3b1861756..7676513864a97afc094580cb365d22bbc28b077f 100644 |
--- a/net/socket/ssl_client_socket_unittest.cc |
+++ b/net/socket/ssl_client_socket_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "base/callback_helpers.h" |
#include "base/memory/ref_counted.h" |
#include "base/run_loop.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/time/time.h" |
#include "net/base/address_list.h" |
#include "net/base/io_buffer.h" |
@@ -939,22 +940,20 @@ class SSLClientSocketFalseStartTest : public SSLClientSocketTest { |
class SSLClientSocketChannelIDTest : public SSLClientSocketTest { |
protected: |
void EnableChannelID() { |
- channel_id_service_.reset( |
- new ChannelIDService(new DefaultChannelIDStore(NULL), |
- base::MessageLoopProxy::current())); |
+ channel_id_service_.reset(new ChannelIDService( |
+ new DefaultChannelIDStore(NULL), base::ThreadTaskRunnerHandle::Get())); |
context_.channel_id_service = channel_id_service_.get(); |
} |
void EnableFailingChannelID() { |
channel_id_service_.reset(new ChannelIDService( |
- new FailingChannelIDStore(), base::MessageLoopProxy::current())); |
+ new FailingChannelIDStore(), base::ThreadTaskRunnerHandle::Get())); |
context_.channel_id_service = channel_id_service_.get(); |
} |
void EnableAsyncFailingChannelID() { |
channel_id_service_.reset(new ChannelIDService( |
- new AsyncFailingChannelIDStore(), |
- base::MessageLoopProxy::current())); |
+ new AsyncFailingChannelIDStore(), base::ThreadTaskRunnerHandle::Get())); |
context_.channel_id_service = channel_id_service_.get(); |
} |