Index: remoting/protocol/protocol_mock_objects.cc |
diff --git a/remoting/protocol/protocol_mock_objects.cc b/remoting/protocol/protocol_mock_objects.cc |
index 316dd01aedace95958251e1464af5769740f02b8..34766c31a7a56703c54c2a1f356ae6727a28c1aa 100644 |
--- a/remoting/protocol/protocol_mock_objects.cc |
+++ b/remoting/protocol/protocol_mock_objects.cc |
@@ -4,14 +4,17 @@ |
#include "remoting/protocol/protocol_mock_objects.h" |
+#include "base/message_loop_proxy.h" |
+ |
namespace remoting { |
namespace protocol { |
-MockConnectionToClient::MockConnectionToClient(MessageLoop* message_loop, |
- EventHandler* handler, |
- HostStub* host_stub, |
- InputStub* input_stub) |
- : ConnectionToClient(message_loop, handler) { |
+MockConnectionToClient::MockConnectionToClient( |
+ EventHandler* handler, |
+ HostStub* host_stub, |
+ InputStub* input_stub) |
+ : ConnectionToClient(base::MessageLoopProxy::CreateForCurrentThread(), |
+ handler) { |
set_host_stub(host_stub); |
set_input_stub(input_stub); |
} |