| Index: remoting/host/register_support_host_request.cc
|
| diff --git a/remoting/host/register_support_host_request.cc b/remoting/host/register_support_host_request.cc
|
| index 00045f06f6d2ce978c74eaaf0416c2ec0c5467c9..3c47daba239a0001c85632c04b9597be433fa078 100644
|
| --- a/remoting/host/register_support_host_request.cc
|
| +++ b/remoting/host/register_support_host_request.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "remoting/host/register_support_host_request.h"
|
|
|
| +#include "base/bind.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| #include "base/string_number_conversions.h"
|
| @@ -59,8 +60,8 @@ void RegisterSupportHostRequest::OnSignallingConnected(
|
| message_loop_ = MessageLoop::current();
|
|
|
| request_.reset(signal_strategy->CreateIqRequest());
|
| - request_->set_callback(NewCallback(
|
| - this, &RegisterSupportHostRequest::ProcessResponse));
|
| + request_->set_callback(base::Bind(
|
| + &RegisterSupportHostRequest::ProcessResponse, base::Unretained(this)));
|
|
|
| request_->SendIq(buzz::STR_SET, kChromotingBotJid,
|
| CreateRegistrationRequest(jid));
|
|
|