Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 2760b1d434368509c2e7047541ae9500989f560f..7f8d2272a1c7438d99ad3ce7e2ca2a8f57d75bb4 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -881,6 +881,13 @@ net::URLRequestContextGetter* ProfileImpl::GetRequestContextForStoragePartition( |
} |
net::SSLConfigService* ProfileImpl::GetSSLConfigService() { |
+ // If ssl_config_service_manager_ is null, this typically means that some |
+ // ProfileKeyedService is trying to create a RequestContext at startup, but |
+ // SSLConfigServiceManager is not initialized until DoFinalInit() which is |
+ // invoked after all ProfileKeyedServices have been initialized (see |
+ // http://crbug.com/171406). |
+ DCHECK(ssl_config_service_manager_.get()) << |
+ "SSLConfigServiceManager is not initialized yet"; |
return ssl_config_service_manager_->Get(); |
} |