| Index: components/prefs/overlay_user_pref_store.cc
|
| diff --git a/components/prefs/overlay_user_pref_store.cc b/components/prefs/overlay_user_pref_store.cc
|
| index 125dece15f893ca9ff0575946a8d137e35e45a3a..2b2208ed8214408290c312125e5309689dfecaff 100644
|
| --- a/components/prefs/overlay_user_pref_store.cc
|
| +++ b/components/prefs/overlay_user_pref_store.cc
|
| @@ -130,7 +130,8 @@ void OverlayUserPrefStore::SchedulePendingLossyWrites() {
|
|
|
| void OverlayUserPrefStore::ReportValueChanged(const std::string& key,
|
| uint32_t flags) {
|
| - FOR_EACH_OBSERVER(PrefStore::Observer, observers_, OnPrefValueChanged(key));
|
| + for (PrefStore::Observer& observer : observers_)
|
| + observer.OnPrefValueChanged(key);
|
| }
|
|
|
| void OverlayUserPrefStore::OnPrefValueChanged(const std::string& key) {
|
| @@ -139,8 +140,8 @@ void OverlayUserPrefStore::OnPrefValueChanged(const std::string& key) {
|
| }
|
|
|
| void OverlayUserPrefStore::OnInitializationCompleted(bool succeeded) {
|
| - FOR_EACH_OBSERVER(PrefStore::Observer, observers_,
|
| - OnInitializationCompleted(succeeded));
|
| + for (PrefStore::Observer& observer : observers_)
|
| + observer.OnInitializationCompleted(succeeded);
|
| }
|
|
|
| void OverlayUserPrefStore::RegisterOverlayPref(const std::string& key) {
|
|
|