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

Unified Diff: mojo/edk/js/handle.cc

Issue 2418043002: Remove usage of FOR_EACH_OBSERVER macro in mojo (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/js/handle.cc
diff --git a/mojo/edk/js/handle.cc b/mojo/edk/js/handle.cc
index 9f9f1619cc7a6b0672600293aeda5e57bdede753..7da8e9fa1966ad2e8fc735c29d651f40a6a521c6 100644
--- a/mojo/edk/js/handle.cc
+++ b/mojo/edk/js/handle.cc
@@ -37,7 +37,8 @@ void HandleWrapper::NotifyCloseObservers() {
if (!handle_.is_valid())
return;
- FOR_EACH_OBSERVER(HandleCloseObserver, close_observers_, OnWillCloseHandle());
+ for (auto& observer : close_observers_)
+ observer.OnWillCloseHandle();
}
} // namespace js
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698