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

Unified Diff: remoting/host/url_request_context.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/token_validator_factory_impl.cc ('k') | remoting/jingle_glue/chromium_socket_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/url_request_context.cc
diff --git a/remoting/host/url_request_context.cc b/remoting/host/url_request_context.cc
index 4c75c0233a1e57e6e31806a925004368c8af9e88..283a28b0eb5a2a8b6a768b1518b4d6bb291fd8c4 100644
--- a/remoting/host/url_request_context.cc
+++ b/remoting/host/url_request_context.cc
@@ -104,7 +104,7 @@ URLRequestContext::URLRequestContext(
scoped_refptr<net::HttpNetworkSession> network_session(
new net::HttpNetworkSession(session_params));
storage_.set_http_transaction_factory(
- new net::HttpNetworkLayer(network_session));
+ new net::HttpNetworkLayer(network_session.get()));
storage_.set_net_log(net_log.release());
}
@@ -115,8 +115,8 @@ URLRequestContextGetter::URLRequestContextGetter(
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner)
: network_task_runner_(network_task_runner) {
- proxy_config_service_.reset(
- CreateSystemProxyConfigService(ui_task_runner, network_task_runner_));
+ proxy_config_service_.reset(CreateSystemProxyConfigService(
+ ui_task_runner.get(), network_task_runner_.get()));
}
net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
« no previous file with comments | « remoting/host/token_validator_factory_impl.cc ('k') | remoting/jingle_glue/chromium_socket_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698