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

Unified Diff: ui/app_list/folder_image.cc

Issue 2422873002: Remove usage of FOR_EACH_OBSERVER macro in ui/app_list (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 | « ui/app_list/app_list_model.cc ('k') | ui/app_list/pagination_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/folder_image.cc
diff --git a/ui/app_list/folder_image.cc b/ui/app_list/folder_image.cc
index 258bc5534593e73efcc0dc6e4342c3b23a63dab6..8d0282e2643c251bea64e1c0c0f32a7852107487 100644
--- a/ui/app_list/folder_image.cc
+++ b/ui/app_list/folder_image.cc
@@ -223,7 +223,8 @@ void FolderImage::RedrawIconAndNotify() {
icon_ =
gfx::ImageSkia(new FolderImageSource(top_icons, icon_size), icon_size);
- FOR_EACH_OBSERVER(FolderImageObserver, observers_, OnFolderImageUpdated());
+ for (auto& observer : observers_)
+ observer.OnFolderImageUpdated();
}
} // namespace app_list
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/pagination_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698