| Index: remoting/host/setup/service_client.cc
|
| diff --git a/remoting/host/setup/service_client.cc b/remoting/host/setup/service_client.cc
|
| index 9ea1d529716f19cab4146918479237891a9d8f3e..260f76213ac5af6fbc175935f8d8049554037d76 100644
|
| --- a/remoting/host/setup/service_client.cc
|
| +++ b/remoting/host/setup/service_client.cc
|
| @@ -111,8 +111,8 @@ void ServiceClient::Core::MakeChromotingRequest(
|
| const std::string& oauth_access_token,
|
| ServiceClient::Delegate* delegate) {
|
| delegate_ = delegate;
|
| - request_.reset(net::URLFetcher::Create(
|
| - 0, GURL(chromoting_hosts_url_ + url_suffix), request_type, this));
|
| + request_ = net::URLFetcher::Create(
|
| + 0, GURL(chromoting_hosts_url_ + url_suffix), request_type, this);
|
| request_->SetRequestContext(request_context_getter_.get());
|
| request_->SetUploadData("application/json; charset=UTF-8", request_body);
|
| request_->AddExtraRequestHeader("Authorization: OAuth " + oauth_access_token);
|
|
|