| Index: remoting/host/security_key/security_key_socket.cc
|
| diff --git a/remoting/host/security_key/security_key_socket.cc b/remoting/host/security_key/security_key_socket.cc
|
| index 569e53cf12e4d9430e7fdfd8134d936ef5a6613e..232c0e4d23766c6a87ddf692936f15176afccd3c 100644
|
| --- a/remoting/host/security_key/security_key_socket.cc
|
| +++ b/remoting/host/security_key/security_key_socket.cc
|
| @@ -31,7 +31,7 @@ SecurityKeySocket::SecurityKeySocket(std::unique_ptr<net::StreamSocket> socket,
|
| const base::Closure& timeout_callback)
|
| : socket_(std::move(socket)),
|
| read_buffer_(new net::IOBufferWithSize(kRequestReadBufferLength)) {
|
| - timer_.reset(new base::Timer(false, false));
|
| + timer_.reset(new base::OneShotTimer);
|
| timer_->Start(FROM_HERE, timeout, timeout_callback);
|
| }
|
|
|
|
|