Index: remoting/host/setup/start_host.cc |
diff --git a/remoting/host/setup/start_host.cc b/remoting/host/setup/start_host.cc |
index 185e9af1bb45e6077429e6fa4a58c37f38cca759..f8f54f95f1d0aaa412bd4cb58a62eea72715167d 100644 |
--- a/remoting/host/setup/start_host.cc |
+++ b/remoting/host/setup/start_host.cc |
@@ -159,11 +159,10 @@ int main(int argc, char** argv) { |
} |
// Start the host. |
- scoped_ptr<HostStarter> host_starter( |
- HostStarter::Create( |
- GaiaUrls::GetInstance()->oauth2_token_url(), |
- remoting::ServiceUrls::GetInstance()->directory_hosts_url(), |
- url_request_context_getter)); |
+ scoped_ptr<HostStarter> host_starter(HostStarter::Create( |
+ GaiaUrls::GetInstance()->oauth2_token_url(), |
+ remoting::ServiceUrls::GetInstance()->directory_hosts_url(), |
+ url_request_context_getter.get())); |
if (redirect_url.empty()) { |
redirect_url = remoting::GetDefaultOauthRedirectUrl(); |
} |