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

Unified Diff: chrome/browser/prefs/pref_service.cc

Issue 10547002: Clear notifier when PrefService is destroyed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/pref_service.cc
diff --git a/chrome/browser/prefs/pref_service.cc b/chrome/browser/prefs/pref_service.cc
index 48c255b78e734190a9ac8ee1f3846634f6272b71..0ea8d88985518d40c5066f48039e5bc6080d8727 100644
--- a/chrome/browser/prefs/pref_service.cc
+++ b/chrome/browser/prefs/pref_service.cc
@@ -225,6 +225,7 @@ PrefService::~PrefService() {
user_pref_store_ = NULL;
default_store_ = NULL;
pref_sync_associator_.reset();
+ pref_notifier_.reset();
Bernhard Bauer 2012/06/08 13:08:46 I don't really understand. What does this change d
}
void PrefService::InitFromStorage(bool async) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698