| Index: remoting/host/host_port_allocator.cc
|
| diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc
|
| index cf8a84c00e0eba218003b6457d0c79ca9ecf200f..0849f63043797232f9e33e50cd79bfe4adc4cbc1 100644
|
| --- a/remoting/host/host_port_allocator.cc
|
| +++ b/remoting/host/host_port_allocator.cc
|
| @@ -96,9 +96,9 @@ void HostPortAllocatorSession::SendSessionRequest(const std::string& host,
|
| GetSessionRequestUrl() + "&sn=1");
|
| scoped_ptr<net::URLFetcher> url_fetcher(
|
| net::URLFetcher::Create(url, net::URLFetcher::GET, this));
|
| - url_fetcher->SetRequestContext(url_context_);
|
| - url_fetcher->AddExtraRequestHeader(
|
| - "X-Talk-Google-Relay-Auth: " + relay_token());
|
| + url_fetcher->SetRequestContext(url_context_.get());
|
| + url_fetcher->AddExtraRequestHeader("X-Talk-Google-Relay-Auth: " +
|
| + relay_token());
|
| url_fetcher->AddExtraRequestHeader("X-Google-Relay-Auth: " + relay_token());
|
| url_fetcher->AddExtraRequestHeader("X-Stream-Type: chromoting");
|
| url_fetcher->Start();
|
|
|