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

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

Issue 2138593002: Remove CHECKs used for debugging bug 425785. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | chrome/browser/supervised_user/supervised_user_pref_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/chrome_pref_service_factory.cc
diff --git a/chrome/browser/prefs/chrome_pref_service_factory.cc b/chrome/browser/prefs/chrome_pref_service_factory.cc
index 0c7a9f50d922008b6fa0633d47d020d94b68c265..9d95bbda2e0134ef8ba12e01a27b90ec9271d701 100644
--- a/chrome/browser/prefs/chrome_pref_service_factory.cc
+++ b/chrome/browser/prefs/chrome_pref_service_factory.cc
@@ -429,9 +429,7 @@ void PrepareFactory(
if (supervised_user_settings) {
scoped_refptr<PrefStore> supervised_user_prefs = make_scoped_refptr(
new SupervisedUserPrefStore(supervised_user_settings));
- // TODO(bauerb): Temporary CHECK while investigating
- // https://crbug.com/425785. Remove when that bug is fixed.
- CHECK(async || supervised_user_prefs->IsInitializationComplete());
+ DCHECK(async || supervised_user_prefs->IsInitializationComplete());
factory->set_supervised_user_prefs(supervised_user_prefs);
}
#endif
« no previous file with comments | « no previous file | chrome/browser/supervised_user/supervised_user_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698