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

Unified Diff: chrome/browser/net/http_pipelining_compatibility_client.cc

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize to NULL Created 8 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
Index: chrome/browser/net/http_pipelining_compatibility_client.cc
diff --git a/chrome/browser/net/http_pipelining_compatibility_client.cc b/chrome/browser/net/http_pipelining_compatibility_client.cc
index 5ba82008aa38b05db8d19629331ef2f272609bb8..ae81dca363882e9a4ee622700a545a85512fc404 100644
--- a/chrome/browser/net/http_pipelining_compatibility_client.cc
+++ b/chrome/browser/net/http_pipelining_compatibility_client.cc
@@ -297,7 +297,7 @@ void HttpPipeliningCompatibilityClient::Start(
http_transaction_factory_.reset(
net::HttpNetworkLayer::CreateFactory(session.get()));
- url_request_context_ = new net::URLRequestContext;
+ url_request_context_.reset(new net::URLRequestContext);
url_request_context_->CopyFrom(url_request_context);
url_request_context_->set_http_transaction_factory(
http_transaction_factory_.get());
« no previous file with comments | « chrome/browser/net/http_pipelining_compatibility_client.h ('k') | chrome/browser/policy/device_management_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698