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

Unified Diff: ash/first_run/first_run_helper_impl.cc

Issue 2421853003: Remove usage of FOR_EACH_OBSERVER macro in ash/ (Closed)
Patch Set: shell_observers 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 | « ash/display/window_tree_host_manager.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/first_run/first_run_helper_impl.cc
diff --git a/ash/first_run/first_run_helper_impl.cc b/ash/first_run/first_run_helper_impl.cc
index e472ab5424ce9eb0580b3a6a290e72fa9703b828..25a6bee6cf50ffb123d9f9f57c20224cb47dde4d 100644
--- a/ash/first_run/first_run_helper_impl.cc
+++ b/ash/first_run/first_run_helper_impl.cc
@@ -62,7 +62,8 @@ gfx::Rect FirstRunHelperImpl::GetAppListButtonBounds() {
}
void FirstRunHelperImpl::Cancel() {
- FOR_EACH_OBSERVER(Observer, observers(), OnCancelled());
+ for (auto& observer : observers())
+ observer.OnCancelled();
}
bool FirstRunHelperImpl::IsCancelingKeyEvent(ui::KeyEvent* event) {
« no previous file with comments | « ash/display/window_tree_host_manager.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698