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

Unified Diff: ui/ozone/platform/drm/host/drm_native_display_delegate.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
Index: ui/ozone/platform/drm/host/drm_native_display_delegate.cc
diff --git a/ui/ozone/platform/drm/host/drm_native_display_delegate.cc b/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
index 45fbc84882cde74f513240ca0ddc21a5c8ebf4bc..0a16a7ee600746ce731bec2a141c12c2888079a4 100644
--- a/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
+++ b/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
@@ -21,8 +21,8 @@ DrmNativeDisplayDelegate::~DrmNativeDisplayDelegate() {
}
void DrmNativeDisplayDelegate::OnConfigurationChanged() {
- FOR_EACH_OBSERVER(NativeDisplayObserver, observers_,
- OnConfigurationChanged());
+ for (NativeDisplayObserver& observer : observers_)
+ observer.OnConfigurationChanged();
}
void DrmNativeDisplayDelegate::Initialize() {
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc ('k') | ui/ozone/platform/drm/mus_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698