Index: chrome/browser/profile.cc |
=================================================================== |
--- chrome/browser/profile.cc (revision 51274) |
+++ chrome/browser/profile.cc (working copy) |
@@ -302,6 +302,9 @@ |
explicit OffTheRecordProfileImpl(Profile* real_profile) |
: profile_(real_profile), |
start_time_(Time::Now()) { |
+ ssl_config_service_manager_.reset( |
+ SSLConfigServiceManager::CreateDefaultManager(this)); |
+ |
request_context_ = ChromeURLRequestContextGetter::CreateOffTheRecord(this); |
// Register for browser close notifications so we can detect when the last |
@@ -516,7 +519,7 @@ |
} |
virtual net::SSLConfigService* GetSSLConfigService() { |
- return profile_->GetSSLConfigService(); |
+ return ssl_config_service_manager_->Get(); |
} |
virtual HostContentSettingsMap* GetHostContentSettingsMap() { |
@@ -725,6 +728,8 @@ |
// Should be used only on the file thread. |
scoped_refptr<webkit_database::DatabaseTracker> db_tracker_; |
+ scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_; |
+ |
FilePath last_selected_directory_; |
// Tracks all BackgroundContents running under this profile. |