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

Unified Diff: net/url_request/url_request_context_storage.cc

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: net/url_request/url_request_context_storage.cc
diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
index ea10c7e6cc6bf6fa0902a304a2aa2d93da55211a..ea6a66b092ebe979f29cdb6b4111a61defc55f13 100644
--- a/net/url_request/url_request_context_storage.cc
+++ b/net/url_request/url_request_context_storage.cc
@@ -49,9 +49,9 @@ void URLRequestContextStorage::set_cert_verifier(CertVerifier* cert_verifier) {
}
void URLRequestContextStorage::set_channel_id_service(
- ChannelIDService* channel_id_service) {
- context_->set_channel_id_service(channel_id_service);
- channel_id_service_.reset(channel_id_service);
+ scoped_ptr<ChannelIDService> channel_id_service) {
+ context_->set_channel_id_service(channel_id_service.get());
+ channel_id_service_ = channel_id_service.Pass();
}
void URLRequestContextStorage::set_fraudulent_certificate_reporter(

Powered by Google App Engine
This is Rietveld 408576698