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

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

Issue 7714038: Reverts debugging code added in hopes of tracking crash. This also (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/prefs/pref_service.h ('k') | chrome/browser/prefs/testing_pref_store.h » ('j') | 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 3f76755e4835f4aa8891fcddc1cb2c88d18469d9..6cb98364ed38ee4d05345c2c50f46859adb20509 100644
--- a/chrome/browser/prefs/pref_service.cc
+++ b/chrome/browser/prefs/pref_service.cc
@@ -838,20 +838,6 @@ SyncableService* PrefService::GetSyncableService() {
return pref_sync_associator_.get();
}
-void PrefService::CheckIfValueDestroyed(const char* path,
- base::Value::Type type) {
- // Make sure the value exists.
- Value* value = GetMutableUserPref(path, type);
- if (!value) {
- const Preference* pref = FindPreference(path);
- CHECK(pref);
- CHECK_EQ(type, pref->GetType());
- CHECK(false);
- }
-
- user_pref_store_->CheckIfValueDestroyed(path);
-}
-
///////////////////////////////////////////////////////////////////////////////
// PrefService::Preference
« no previous file with comments | « chrome/browser/prefs/pref_service.h ('k') | chrome/browser/prefs/testing_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698