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

Unified Diff: ui/chromeos/network/network_icon_animation.cc

Issue 2422073002: Reduce FOR_EACH_OBSERVER usage in ui/ (Closed)
Patch Set: remove space 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 | « ui/chromeos/ime/input_method_menu_manager.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/network/network_icon_animation.cc
diff --git a/ui/chromeos/network/network_icon_animation.cc b/ui/chromeos/network/network_icon_animation.cc
index 055a10b09aafe10e8a3c4418a39f2f624573a967..9ed3a473b8361fa23c9c4d7deb3b8d98cd446565 100644
--- a/ui/chromeos/network/network_icon_animation.cc
+++ b/ui/chromeos/network/network_icon_animation.cc
@@ -27,7 +27,8 @@ void NetworkIconAnimation::AnimationProgressed(
const gfx::Animation* animation) {
if (animation != &animation_)
return;
- FOR_EACH_OBSERVER(AnimationObserver, observers_, NetworkIconChanged());
+ for (AnimationObserver& observer : observers_)
+ observer.NetworkIconChanged();
}
double NetworkIconAnimation::GetAnimation() {
« no previous file with comments | « ui/chromeos/ime/input_method_menu_manager.cc ('k') | ui/display/chromeos/display_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698