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

Unified Diff: components/dom_distiller/core/dom_distiller_store.cc

Issue 2440303002: Remove usage of FOR_EACH_OBSERVER macro in components/ (Closed)
Patch Set: remove superfluous return 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 | « components/dom_distiller/core/distilled_page_prefs.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/dom_distiller_store.cc
diff --git a/components/dom_distiller/core/dom_distiller_store.cc b/components/dom_distiller/core/dom_distiller_store.cc
index 8befae8d236c87e5020e1f97705579991cd595db..bb4e85925c9c62810b2232943760102ca2cba723 100644
--- a/components/dom_distiller/core/dom_distiller_store.cc
+++ b/components/dom_distiller/core/dom_distiller_store.cc
@@ -347,8 +347,8 @@ void DomDistillerStore::NotifyObservers(const syncer::SyncChangeList& changes) {
article_update.entry_id = entry.entry_id();
article_changes.push_back(article_update);
}
- FOR_EACH_OBSERVER(DomDistillerObserver, observers_,
- ArticleEntriesUpdated(article_changes));
+ for (DomDistillerObserver& observer : observers_)
+ observer.ArticleEntriesUpdated(article_changes);
}
}
« no previous file with comments | « components/dom_distiller/core/distilled_page_prefs.cc ('k') | components/exo/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698