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 |