Index: components/prefs/pref_service.cc |
diff --git a/components/prefs/pref_service.cc b/components/prefs/pref_service.cc |
index 89033a27ae9dfe416eb988f5d3a74afa272dbc75..472846fd57862449a5f0adf36e034257ca75c8c5 100644 |
--- a/components/prefs/pref_service.cc |
+++ b/components/prefs/pref_service.cc |
@@ -77,6 +77,7 @@ PrefService::PrefService( |
CHECK(pref_value_store_); |
InitFromStorage(async); |
+ LOG(ERROR) << "PrefService::PrefService init"; |
} |
PrefService::~PrefService() { |
@@ -235,8 +236,13 @@ const PrefService::Preference* PrefService::FindPreference( |
if (it != prefs_map_.end()) |
return &(it->second); |
const base::Value* default_value = NULL; |
+ if (!pref_name.compare("settings.display.properties")) |
+ LOG(ERROR) << "PrefService::FindPreference - 1"; |
if (!pref_registry_->defaults()->GetValue(pref_name, &default_value)) |
return NULL; |
+ if (!pref_name.compare("settings.display.properties")) |
+ LOG(ERROR) << "PrefService::FindPreference - 2"; |
+ |
it = prefs_map_.insert( |
std::make_pair(pref_name, Preference( |
this, pref_name, default_value->GetType()))).first; |