Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(796)

Unified Diff: blimp/engine/app/settings_manager.cc

Issue 2425493002: Remove usage of FOR_EACH_OBSERVER macro in blimp (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/core/session/connection_status.cc ('k') | blimp/engine/app/ui/blimp_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/settings_manager.cc
diff --git a/blimp/engine/app/settings_manager.cc b/blimp/engine/app/settings_manager.cc
index 0c7fd35b62156cfcff0a9827154264278670932d..50254fdbaff99d7dceb69938ea1fc48303fc8d19 100644
--- a/blimp/engine/app/settings_manager.cc
+++ b/blimp/engine/app/settings_manager.cc
@@ -43,7 +43,8 @@ void SettingsManager::UpdateEngineSettings(const EngineSettings& settings) {
if (settings_.record_whole_document != old_settings.record_whole_document) {
// Notify the observers that the web preferences have changed.
- FOR_EACH_OBSERVER(Observer, observer_list_, OnWebPreferencesChanged());
+ for (auto& observer : observer_list_)
+ observer.OnWebPreferencesChanged();
}
}
« no previous file with comments | « blimp/client/core/session/connection_status.cc ('k') | blimp/engine/app/ui/blimp_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698