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

Unified Diff: chrome/service/net/service_url_request_context.cc

Issue 15836003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « chrome/service/gaia/service_gaia_authenticator.cc ('k') | chrome/service/service_ipc_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/net/service_url_request_context.cc
diff --git a/chrome/service/net/service_url_request_context.cc b/chrome/service/net/service_url_request_context.cc
index 7d32da9f83a90a9421cdf05b86b8bce4a873e009..809c4ede5cda0e3d762ec603cf99a55a806317a9 100644
--- a/chrome/service/net/service_url_request_context.cc
+++ b/chrome/service/net/service_url_request_context.cc
@@ -129,10 +129,8 @@ ServiceURLRequestContext::ServiceURLRequestContext(
session_params.http_server_properties = http_server_properties();
scoped_refptr<net::HttpNetworkSession> network_session(
new net::HttpNetworkSession(session_params));
- storage_.set_http_transaction_factory(
- new net::HttpCache(
- network_session,
- net::HttpCache::DefaultBackend::InMemory(0)));
+ storage_.set_http_transaction_factory(new net::HttpCache(
+ network_session.get(), net::HttpCache::DefaultBackend::InMemory(0)));
// In-memory cookie store.
storage_.set_cookie_store(new net::CookieMonster(NULL, NULL));
storage_.set_http_user_agent_settings(new net::StaticHttpUserAgentSettings(
« no previous file with comments | « chrome/service/gaia/service_gaia_authenticator.cc ('k') | chrome/service/service_ipc_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698