Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: remoting/host/setup/start_host.cc

Issue 15782010: Update remoting/ and jingle/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/service_client.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « remoting/host/service_client.cc ('k') | remoting/host/signaling_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698