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

Unified Diff: base/prefs/pref_service.cc

Issue 383683002: DCHECK(CalledOnValidThread()) for ScopedUserPrefUpdate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed on unnecessary DCHECK Created 6 years, 5 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 | base/prefs/scoped_user_pref_update.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/prefs/pref_service.cc
diff --git a/base/prefs/pref_service.cc b/base/prefs/pref_service.cc
index a8e56d0b370680f9400e8432014d08b357fc4179..65605c5f8e6d346f1d10f82b3a1dc76b08e989a9 100644
--- a/base/prefs/pref_service.cc
+++ b/base/prefs/pref_service.cc
@@ -432,6 +432,7 @@ base::Value* PrefService::GetMutableUserPref(const char* path,
}
void PrefService::ReportUserPrefChanged(const std::string& key) {
+ DCHECK(CalledOnValidThread());
user_pref_store_->ReportValueChanged(key);
}
« no previous file with comments | « no previous file | base/prefs/scoped_user_pref_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698