Index: remoting/host/client_session.cc |
diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc |
index 36bb89cb5348cd09f3b29ccd12ae091f05701650..78dcddf7ec1872c5687be3e918a67686139ec7cb 100644 |
--- a/remoting/host/client_session.cc |
+++ b/remoting/host/client_session.cc |
@@ -48,10 +48,11 @@ ClientSession::~ClientSession() { |
} |
void ClientSession::BeginSessionRequest( |
- const protocol::LocalLoginCredentials* credentials, Task* done) { |
+ const protocol::LocalLoginCredentials* credentials, |
+ const base::Closure& done) { |
DCHECK(event_handler_); |
- base::ScopedTaskRunner done_runner(done); |
+ base::ScopedClosureRunner done_runner(done); |
bool success = false; |
switch (credentials->type()) { |