Index: remoting/host/host_port_allocator.cc |
diff --git a/remoting/host/host_port_allocator.cc b/remoting/host/host_port_allocator.cc |
index ba53322b4e439e79cdf641cd0fd69ce8a947b764..f259f7828d28852c75895cff78615d6367c9b459 100644 |
--- a/remoting/host/host_port_allocator.cc |
+++ b/remoting/host/host_port_allocator.cc |
@@ -91,7 +91,7 @@ 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->SetRequestContext(url_context_.get()); |
url_fetcher->AddExtraRequestHeader( |
"X-Talk-Google-Relay-Auth: " + relay_token()); |
url_fetcher->AddExtraRequestHeader("X-Google-Relay-Auth: " + relay_token()); |