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 dfcbd04dbfbe13f5108d44faec07f59d1953bffd..d209087cca9bd4feb28acfe36cdaf047fdc9dba0 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc |
@@ -137,6 +137,15 @@ OffTheRecordProfileIOData::Handle::CreateIsolatedAppRequestContextGetter( |
return context; |
} |
+void OffTheRecordProfileIOData::Handle::ReleaseFromBrowserContextServices( |
+ Profile* profile) const { |
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ if (!initialized_) |
+ return; |
+ |
+ io_data_->ReleaseFromBrowserContextServices(profile); |
+} |
+ |
void OffTheRecordProfileIOData::Handle::LazyInitialize() const { |
if (initialized_) |
return; |
@@ -177,8 +186,6 @@ void OffTheRecordProfileIOData::InitializeInternal( |
main_context->set_host_resolver( |
io_thread_globals->host_resolver.get()); |
- main_context->set_cert_verifier( |
- io_thread_globals->cert_verifier.get()); |
main_context->set_http_auth_handler_factory( |
io_thread_globals->http_auth_handler_factory.get()); |
main_context->set_fraudulent_certificate_reporter( |