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

Unified Diff: chrome/browser/ui/webui/media_router/query_result_manager.cc

Issue 2424853003: Remove FOR_EACH_OBSERVER macro usage in chrome/browser/ui (Closed)
Patch Set: explicit types 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
Index: chrome/browser/ui/webui/media_router/query_result_manager.cc
diff --git a/chrome/browser/ui/webui/media_router/query_result_manager.cc b/chrome/browser/ui/webui/media_router/query_result_manager.cc
index 11a67758e42bc713c388317226358bb68bc48279..79fbb604293426c548c539b6324c5305852be752 100644
--- a/chrome/browser/ui/webui/media_router/query_result_manager.cc
+++ b/chrome/browser/ui/webui/media_router/query_result_manager.cc
@@ -232,8 +232,8 @@ void QueryResultManager::NotifyOnResultsUpdated() {
sink_with_cast_modes.cast_modes = sink_pair.second.GetCastModes();
sinks.push_back(sink_with_cast_modes);
}
- FOR_EACH_OBSERVER(QueryResultManager::Observer, observers_,
- OnResultsUpdated(sinks));
+ for (QueryResultManager::Observer& observer : observers_)
+ observer.OnResultsUpdated(sinks);
}
} // namespace media_router
« no previous file with comments | « chrome/browser/ui/webui/chromeos/touch_view_controller_delegate.cc ('k') | chrome/browser/ui/webui/signin/login_ui_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698