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

Unified Diff: ui/display/chromeos/x11/native_display_delegate_x11.cc

Issue 2422073002: Reduce FOR_EACH_OBSERVER usage in ui/ (Closed)
Patch Set: remove space 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/display/chromeos/display_configurator.cc ('k') | ui/display/display_change_notifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/x11/native_display_delegate_x11.cc
diff --git a/ui/display/chromeos/x11/native_display_delegate_x11.cc b/ui/display/chromeos/x11/native_display_delegate_x11.cc
index 7fe27ffc5132e065ea5b6989cd880c73a0419557..3cbfe69eb377ca1d5c58dbe91796162f7ccdb8c8 100644
--- a/ui/display/chromeos/x11/native_display_delegate_x11.cc
+++ b/ui/display/chromeos/x11/native_display_delegate_x11.cc
@@ -90,8 +90,8 @@ class NativeDisplayDelegateX11::HelperDelegateX11
return delegate_->cached_outputs_.get();
}
void NotifyDisplayObservers() override {
- FOR_EACH_OBSERVER(
- NativeDisplayObserver, delegate_->observers_, OnConfigurationChanged());
+ for (NativeDisplayObserver& observer : delegate_->observers_)
+ observer.OnConfigurationChanged();
}
private:
« no previous file with comments | « ui/display/chromeos/display_configurator.cc ('k') | ui/display/display_change_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698