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

Unified Diff: components/history/core/browser/web_history_service.cc

Issue 2423813002: Remove usage of FOR_EACH_OBSERVER macro in components/history (Closed)
Patch Set: explicit type 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/history/core/browser/top_sites.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/history/core/browser/web_history_service.cc
diff --git a/components/history/core/browser/web_history_service.cc b/components/history/core/browser/web_history_service.cc
index 35d97b85957559f9ce58aefca4d678ebdef09449..f4c43429ec6ffdfe21934b1d8ee4b085ea903b28 100644
--- a/components/history/core/browser/web_history_service.cc
+++ b/components/history/core/browser/web_history_service.cc
@@ -567,8 +567,8 @@ void WebHistoryService::ExpireHistoryCompletionCallback(
// Inform the observers about the history deletion.
if (response_value.get() && success) {
- FOR_EACH_OBSERVER(WebHistoryServiceObserver, observer_list_,
- OnWebHistoryDeleted());
+ for (WebHistoryServiceObserver& observer : observer_list_)
+ observer.OnWebHistoryDeleted();
}
}
« no previous file with comments | « components/history/core/browser/top_sites.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698