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

Unified Diff: chrome/browser/profiles/off_the_record_profile_io_data.cc

Issue 11316320: Replace ProfileIOData::http_server_properties_manager_ with http_server_properties_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responded to willchan's comments in #2 Created 8 years 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/profiles/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index 65ee20fd951857fde1efbcddaf5ba6ecf41af0c8..4aa295dbdbe6f1bb63959b501058e167145b98a2 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -182,8 +182,8 @@ void OffTheRecordProfileIOData::LazyInitializeInternal(
io_thread_globals->throttler_manager.get());
// For incognito, we use the default non-persistent HttpServerPropertiesImpl.
- http_server_properties_.reset(new net::HttpServerPropertiesImpl);
- main_context->set_http_server_properties(http_server_properties_.get());
+ set_http_server_properties(new net::HttpServerPropertiesImpl);
+ main_context->set_http_server_properties(http_server_properties());
// For incognito, we use a non-persistent server bound cert store.
net::ServerBoundCertService* server_bound_cert_service =
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_io_data.h ('k') | chrome/browser/profiles/profile_impl_io_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698