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

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

Issue 24153012: Fix cyclic dependency between ProfilePolicyConnector and PrefService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 2 months 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_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index af3c60c47d4435f8f84c13da6f1ffec9a1375193..642da2313bc415a5fc18d3b572f522029bc4ebb8 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -140,6 +140,8 @@ OffTheRecordProfileImpl::~OffTheRecordProfileImpl() {
io_data_.GetResourceContextNoInit());
#endif
+ io_data_.ReleaseFromBrowserContextServices(this);
+
BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices(
this);

Powered by Google App Engine
This is Rietveld 408576698