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 c0507d123e45a2ade5b4947b862cf11df6b8b78b..fda391c4c56f68f901f85e9034e7587fb2384bda 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc |
@@ -146,7 +146,9 @@ void OffTheRecordProfileIOData::Handle::LazyInitialize() const { |
OffTheRecordProfileIOData::OffTheRecordProfileIOData() |
: ProfileIOData(true) {} |
-OffTheRecordProfileIOData::~OffTheRecordProfileIOData() {} |
+OffTheRecordProfileIOData::~OffTheRecordProfileIOData() { |
+ DestroyResourceContext(); |
+} |
void OffTheRecordProfileIOData::LazyInitializeInternal( |
ProfileParams* profile_params) const { |