| Index: chrome/browser/prefs/pref_hash_filter.cc
|
| diff --git a/chrome/browser/prefs/pref_hash_filter.cc b/chrome/browser/prefs/pref_hash_filter.cc
|
| index 1935708f9e22ca39964f2580d8dd402d1d39d9b9..503dcb62a3a81d091ae1229de9c704d82a69b8b7 100644
|
| --- a/chrome/browser/prefs/pref_hash_filter.cc
|
| +++ b/chrome/browser/prefs/pref_hash_filter.cc
|
| @@ -63,16 +63,13 @@ PrefHashFilter::~PrefHashFilter() {
|
| DCHECK(changed_paths_.empty());
|
| }
|
|
|
| -void PrefHashFilter::Initialize(PrefStore* pref_store) {
|
| - UMA_HISTOGRAM_BOOLEAN(
|
| - "Settings.TrackedPreferencesInitializedForUnloadedProfile", true);
|
| -
|
| +void PrefHashFilter::Initialize(const PrefStore& pref_store) {
|
| for (TrackedPreferencesMap::const_iterator it = tracked_paths_.begin();
|
| it != tracked_paths_.end(); ++it) {
|
| const std::string& initialized_path = it->first;
|
| const TrackedPreference* initialized_preference = it->second;
|
| const base::Value* value = NULL;
|
| - pref_store->GetValue(initialized_path, &value);
|
| + pref_store.GetValue(initialized_path, &value);
|
| initialized_preference->OnNewValue(value);
|
| }
|
| }
|
|
|