Index: chrome/browser/background/background_application_list_model.cc |
diff --git a/chrome/browser/background/background_application_list_model.cc b/chrome/browser/background/background_application_list_model.cc |
index c37dae638873c9523a556d5395c2a9a7ea3a78cd..dfe9e251e5ed9ddba2be02873ad5714e50391a44 100644 |
--- a/chrome/browser/background/background_application_list_model.cc |
+++ b/chrome/browser/background/background_application_list_model.cc |
@@ -330,8 +330,8 @@ void BackgroundApplicationListModel::Observe( |
void BackgroundApplicationListModel::SendApplicationDataChangedNotifications( |
const Extension* extension) { |
- FOR_EACH_OBSERVER(Observer, observers_, OnApplicationDataChanged(extension, |
- profile_)); |
+ for (auto& observer : observers_) |
+ observer.OnApplicationDataChanged(extension, profile_); |
} |
void BackgroundApplicationListModel::OnExtensionLoaded( |
@@ -398,6 +398,7 @@ void BackgroundApplicationListModel::Update() { |
} |
if (old_cursor != extensions_.end() || new_cursor != extensions.end()) { |
extensions_ = extensions; |
- FOR_EACH_OBSERVER(Observer, observers_, OnApplicationListChanged(profile_)); |
+ for (auto& observer : observers_) |
+ observer.OnApplicationListChanged(profile_); |
} |
} |