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

Unified Diff: chrome/browser/browsing_data_server_bound_cert_helper_unittest.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/browsing_data_server_bound_cert_helper_unittest.cc
diff --git a/chrome/browser/browsing_data_server_bound_cert_helper_unittest.cc b/chrome/browser/browsing_data_server_bound_cert_helper_unittest.cc
index 1307ba6382511ccf4a9181f8e99ccbf4f81a1276..37f7c7adbabc8f6b445a4803f5c8ea3d228f7540 100644
--- a/chrome/browser/browsing_data_server_bound_cert_helper_unittest.cc
+++ b/chrome/browser/browsing_data_server_bound_cert_helper_unittest.cc
@@ -28,7 +28,7 @@ class BrowsingDataServerBoundCertHelperTest : public testing::Test {
}
void CreateCertsForTest() {
- scoped_refptr<net::URLRequestContext> context =
+ net::URLRequestContext* context =
testing_profile_->GetRequestContext()->GetURLRequestContext();
net::ServerBoundCertStore* cert_store =
context->server_bound_cert_service()->GetCertStore();

Powered by Google App Engine
This is Rietveld 408576698